fix: 修复阿里云证书订单orderid 选择出错的问题

This commit is contained in:
xiaojunnuo
2026-05-26 11:13:29 +08:00
parent 9566fc4e03
commit af9047bf3c
18 changed files with 48 additions and 45 deletions
@@ -51,7 +51,6 @@ export class CertApplyGetFormAliyunPlugin extends CertApplyBasePlugin {
)
apiVersion!: string;
@TaskInput(
createRemoteSelectInputDefine({
title: "证书订单 ID",
@@ -62,6 +61,7 @@ export class CertApplyGetFormAliyunPlugin extends CertApplyBasePlugin {
name: "RemoteSelect",
vModel: "value",
pager: true,
single: true,
},
action: CertApplyGetFormAliyunPlugin.prototype.onGetOrderList.name,
})
@@ -217,7 +217,10 @@ export class CertApplyGetFormAliyunPlugin extends CertApplyBasePlugin {
});
const list = res?.CertificateOrderList || [];
if (!list || list.length === 0) {
return [];
return {
list: [],
total: 0,
};
}
const total = res.TotalCount || 0;
@@ -262,7 +265,10 @@ export class CertApplyGetFormAliyunPlugin extends CertApplyBasePlugin {
const list = res?.InstanceList || [];
if (!list || list.length === 0) {
return [];
return {
list: [],
total: 0,
};
}
const total = res.TotalCount || 0;