From 1ceeacc5266eded27ba00f43ef23c69d259389cc Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 1 Sep 2025 13:33:12 +0800 Subject: [PATCH] chore: --- .../src/plugins/plugin-tencent/plugin/deploy-to-eo/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/ui/certd-server/src/plugins/plugin-tencent/plugin/deploy-to-eo/index.ts b/packages/ui/certd-server/src/plugins/plugin-tencent/plugin/deploy-to-eo/index.ts index a35f981b..189dcc56 100644 --- a/packages/ui/certd-server/src/plugins/plugin-tencent/plugin/deploy-to-eo/index.ts +++ b/packages/ui/certd-server/src/plugins/plugin-tencent/plugin/deploy-to-eo/index.ts @@ -103,6 +103,10 @@ export class DeployCertToTencentEO extends AbstractTaskPlugin { logger: this.logger, }); + if (this.cert == null){ + throw new Error('请选择域名证书'); + } + let tencentCertId = this.cert as string; if (typeof this.cert !== 'string') { const certReader = new CertReader(this.cert);