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() {