From 415b731d9a66aa0d92d9c76e3d694f822cda365b Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 2 Sep 2024 23:55:38 +0800 Subject: [PATCH] chore: --- .../ui/certd-client/src/components/vip-button/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 7c236bf4..10cec219 100644 --- a/packages/ui/certd-client/src/components/vip-button/index.vue +++ b/packages/ui/certd-client/src/components/vip-button/index.vue @@ -115,8 +115,9 @@ function openUpgrade() { return; } const placeholder = "请输入激活码"; + const isPlus = userStore.isPlus; modal.confirm({ - title: "升级/续期专业版", + title: isPlus ? "续期专业版" : "激活专业版", async onOk() { return await doActive(); }, @@ -134,7 +135,8 @@ function openUpgrade() {
-

立刻激活/续期

+

{isPlus ? "续期" : "立刻激活"}

+
{isPlus ? "当前专业版已激活,到期时间" + dayjs(userStore.plusInfo.expireTime).format("YYYY-MM-DD") : ""}
站点ID: