From 2143dff2ae96e6a78bef9f0498e36f8cd9e6941f Mon Sep 17 00:00:00 2001 From: xinghejd <31512683+xinghejd@users.noreply.github.com> Date: Tue, 15 Apr 2025 08:54:28 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=85=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=96=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/plugins/plugin-tencent/plugin/deploy-to-all/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/certd-server/src/plugins/plugin-tencent/plugin/deploy-to-all/index.ts b/packages/ui/certd-server/src/plugins/plugin-tencent/plugin/deploy-to-all/index.ts index 5a63ef60..ce6adc47 100644 --- a/packages/ui/certd-server/src/plugins/plugin-tencent/plugin/deploy-to-all/index.ts +++ b/packages/ui/certd-server/src/plugins/plugin-tencent/plugin/deploy-to-all/index.ts @@ -129,9 +129,9 @@ export class DeployCertToTencentAll extends AbstractTaskPlugin { let certId:string = null if (typeof this.tencentCertId === 'string') { - certId = this.tencentCertId; + certId = this.tencentCertId as string; } else if (this.tencentCertId && typeof this.tencentCertId === 'object') { - certId = await this.uploadToTencent(access, this.tencentCertId); + certId = await this.uploadToTencent(access, this.tencentCertId as CertInfo); } else { throw new Error('无效的证书输入类型'); }