From cbd8699801360faf3dd1103e033082fba0da0c6e Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Fri, 6 Feb 2026 23:04:39 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=20github=20star?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/basic/src/utils/util.log.ts | 2 +- .../src/components/vip-button/index.vue | 43 ++++++++++--------- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/packages/core/basic/src/utils/util.log.ts b/packages/core/basic/src/utils/util.log.ts index a106b82d3..77f3f2ab9 100644 --- a/packages/core/basic/src/utils/util.log.ts +++ b/packages/core/basic/src/utils/util.log.ts @@ -18,7 +18,7 @@ export function resetLogConfigure() { }); } resetLogConfigure(); -export const logger = log4js.getLogger("default"); +export const logger: ILogger = log4js.getLogger("default") as any; export function resetLogFilePath(filePath: string) { logFilePath = filePath; diff --git a/packages/ui/certd-client/src/components/vip-button/index.vue b/packages/ui/certd-client/src/components/vip-button/index.vue index 4be62a9d9..c350ff38a 100644 --- a/packages/ui/certd-client/src/components/vip-button/index.vue +++ b/packages/ui/certd-client/src/components/vip-button/index.vue @@ -161,27 +161,30 @@ function openStarModal(vipType: string) { return; } Modal.destroyAll(); - const goGithub = () => { - window.open("https://github.com/certd/certd/"); - }; - modal.confirm({ - title: t("vip.get_7_day_pro_trial"), - okText: t("vip.star_now"), - onOk() { - goGithub(); - openTrialModal(vipType); - }, - width: 600, - content: () => { - return ( -
-
{t("vip.please_help_star")}
- -
- ); - }, - }); + openTrialModal(vipType); + + // const goGithub = () => { + // window.open("https://github.com/certd/certd/"); + // }; + + // modal.confirm({ + // title: t("vip.get_7_day_pro_trial"), + // okText: t("vip.star_now"), + // onOk() { + // goGithub(); + // openTrialModal(vipType); + // }, + // width: 600, + // content: () => { + // return ( + //
+ //
{t("vip.please_help_star")}
+ // + //
+ // ); + // }, + // }); } function openUpgrade() {