mirror of
https://github.com/certd/certd.git
synced 2026-05-18 14:27:36 +08:00
chore: plus失效原因显示
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user