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: