Compare commits

...

4 Commits

Author SHA1 Message Date
xiaojunnuo 440d55ccb8 chore: sync push 2026-03-20 13:53:12 +08:00
xiaojunnuo 285532d431 fix: remote-select默认pageSize设置为50,阿里云WAF不支持pageSize100 2026-03-20 13:44:49 +08:00
xiaojunnuo f2c47459f8 Merge branch 'v2' of https://github.com/certd/certd into v2 2026-03-20 12:09:01 +08:00
xiaojunnuo 49703f08e5 fix: 修复批量执行按钮无效的bug 2026-03-20 12:08:55 +08:00
7 changed files with 13 additions and 7 deletions
@@ -17,6 +17,7 @@ jobs:
with:
fetch-depth: 0
lfs: true
ref: v2-dev
- name: Set git user # 2. 给git命令设置用户名和邮箱,↙↙↙ 改成你的name和email
run: |
git config --global user.name "xiaojunnuo"
+1
View File
@@ -17,6 +17,7 @@ jobs:
with:
fetch-depth: 0
lfs: true
ref: v2
- name: Set git user # 2. 给git命令设置用户名和邮箱,↙↙↙ 改成你的name和email
run: |
git config --global user.name "xiaojunnuo"
+2 -1
View File
@@ -17,6 +17,7 @@ jobs:
with:
fetch-depth: 0
lfs: true
ref: v2-dev
- name: Set git user # 2. 给git命令设置用户名和邮箱,↙↙↙ 改成你的name和email
run: |
git config --global user.name "xiaojunnuo"
@@ -29,6 +30,6 @@ jobs:
- name: push to cnb # 4. 执行同步
run: |
git remote add upstream https://cnb.cool/certd/certd
git remote add upstream https://cnb.cool/certd/certd.git
git push --set-upstream upstream v2-dev
+1 -1
View File
@@ -29,6 +29,6 @@ jobs:
- name: push to cnb # 4. 执行同步
run: |
git remote add upstream https://cnb.cool/certd/certd
git remote add upstream https://cnb.cool/certd/certd.git
git push --set-upstream upstream v2
+1
View File
@@ -17,6 +17,7 @@ jobs:
with:
fetch-depth: 0
lfs: true
ref: v2-dev
- name: Set git user # 2. 给git命令设置用户名和邮箱,↙↙↙ 改成你的name和email
run: |
git config --global user.name "xiaojunnuo"
@@ -104,7 +104,7 @@ const loading = ref(false);
const pagerRef: Ref = ref({
pageNo: 1,
total: 0,
pageSize: props.pageSize || 100,
pageSize: props.pageSize || 50,
});
const getOptions = async () => {
if (loading.value) {
@@ -182,7 +182,7 @@ const getOptions = async () => {
pagerRef.value.pageNo = res.pageNo ?? 1;
}
if (res.pageSize != null) {
pagerRef.value.pageSize = res.pageSize ?? 100;
pagerRef.value.pageSize = res.pageSize ?? pageSize;
}
if (res.total != null) {
pagerRef.value.total = res.total ?? list.length;
@@ -1074,6 +1074,7 @@ export class PipelineService extends BaseService<PipelineEntity> {
if (!isPlus()) {
throw new NeedVIPException("此功能需要升级专业版");
}
//允许管理员修改,userId=null
const query: any = {}
if (userId && userId > 0) {
query.userId = userId;
@@ -1126,6 +1127,7 @@ export class PipelineService extends BaseService<PipelineEntity> {
if (!isPlus()) {
throw new NeedVIPException("此功能需要升级专业版");
}
//允许管理员修改,userId=null
const query: any = {}
if (userId && userId > 0) {
query.userId = userId;
@@ -1164,9 +1166,9 @@ export class PipelineService extends BaseService<PipelineEntity> {
if (!isPlus()) {
throw new NeedVIPException("此功能需要升级专业版");
}
if (userId == null || ids.length === 0) {
return;
//允许userId为空,为空则为管理员触发
if (ids.length === 0) {
throw new Error("参数错误 ids 不能为空");
}
const where: any = {
id: In(ids),