chore: plus失效原因显示

This commit is contained in:
xiaojunnuo
2026-02-02 16:54:23 +08:00
parent a2e9a41a7e
commit 21591a3a89
2 changed files with 3 additions and 1 deletions
@@ -43,6 +43,7 @@ type Text = {
}; };
const text = computed<Text>(() => { const text = computed<Text>(() => {
const vipLabel = settingStore.vipLabel; const vipLabel = settingStore.vipLabel;
const plusMessage = settingStore.plusInfo?.message;
const map = { const map = {
isComm: { isComm: {
comm: { comm: {
@@ -95,7 +96,7 @@ const text = computed<Text>(() => {
}, },
nav: { nav: {
name: t("vip.free.nav.name"), name: t("vip.free.nav.name"),
title: t("vip.free.nav.title"), title: plusMessage || t("vip.free.nav.title"),
}, },
}, },
}; };
@@ -27,6 +27,7 @@ export type PlusInfo = {
expireTime?: number; expireTime?: number;
isPlus: boolean; isPlus: boolean;
isComm?: boolean; isComm?: boolean;
message?: string;
}; };
export type SysPublicSetting = { export type SysPublicSetting = {
registerEnabled?: boolean; registerEnabled?: boolean;