mirror of
https://github.com/certd/certd.git
synced 2026-06-28 06:27:31 +08:00
fix: 修复阿里云证书订单orderid 选择出错的问题
This commit is contained in:
+9
-3
@@ -51,7 +51,6 @@ export class CertApplyGetFormAliyunPlugin extends CertApplyBasePlugin {
|
||||
)
|
||||
apiVersion!: string;
|
||||
|
||||
|
||||
@TaskInput(
|
||||
createRemoteSelectInputDefine({
|
||||
title: "证书订单 ID",
|
||||
@@ -61,6 +60,7 @@ export class CertApplyGetFormAliyunPlugin extends CertApplyBasePlugin {
|
||||
name: "RemoteSelect",
|
||||
vModel: "value",
|
||||
pager: true,
|
||||
single: true,
|
||||
},
|
||||
action: CertApplyGetFormAliyunPlugin.prototype.onGetOrderList.name,
|
||||
})
|
||||
@@ -216,7 +216,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;
|
||||
@@ -261,7 +264,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;
|
||||
|
||||
Reference in New Issue
Block a user