From e44bf9d77375d48ac7fd1582e69fae02dfd248fa Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 9 Jul 2026 14:47:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=81=AB=E5=B1=B1?= =?UTF-8?q?=E5=BC=95=E6=93=8E=E8=87=AA=E5=AE=9A=E4=B9=89=E6=BA=90=E7=AB=99?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E6=9F=A5=E8=AF=A2=E4=B8=8D=E5=88=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/plugin-deploy-to-vod.ts | 24 +++---------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/packages/ui/certd-server/src/plugins/plugin-volcengine/plugins/plugin-deploy-to-vod.ts b/packages/ui/certd-server/src/plugins/plugin-volcengine/plugins/plugin-deploy-to-vod.ts index 2a0224388..e31eeeae6 100644 --- a/packages/ui/certd-server/src/plugins/plugin-volcengine/plugins/plugin-deploy-to-vod.ts +++ b/packages/ui/certd-server/src/plugins/plugin-volcengine/plugins/plugin-deploy-to-vod.ts @@ -78,6 +78,7 @@ export class VolcengineDeployToVOD extends AbstractTaskPlugin { options: [ { value: "play", label: "点播加速域名" }, { value: "image", label: "封面加速域名" }, + { value: "third", label: "自定义源站" }, ], }, value: "play", @@ -85,29 +86,14 @@ export class VolcengineDeployToVOD extends AbstractTaskPlugin { }) domainType!: string; - @TaskInput({ - title: "源站类型", - helper: "选择源站类型", - value: 1, - component: { - name: "a-select", - vModel: "value", - options: [ - { value: 1, label: "点播源站" }, - { value: 2, label: "自定义源站" }, - ], - helper: "注意:封面加速域名不支持自定义源站", - }, - required: false, - }) - sourceStationType!: number | undefined; + @TaskInput( createRemoteSelectInputDefine({ title: "域名", helper: "选择要部署证书的域名\n需要先在域名管理页面进行证书中心访问授权(即点击去配置SSL证书)", action: VolcengineDeployToVOD.prototype.onGetDomainList.name, - watches: ["certDomains", "accessId", "spaceName", "domainType", "sourceStationType"], + watches: ["certDomains", "accessId", "spaceName", "domainType"], required: true, }) ) @@ -227,10 +213,6 @@ export class VolcengineDeployToVOD extends AbstractTaskPlugin { SpaceName: this.spaceName, DomainType: this.domainType, }; - if (this.sourceStationType !== undefined) { - query.SourceStationType = this.sourceStationType; - } - const res = await service.request({ action: "ListDomain", query,