fix: 免费套餐支持购买

This commit is contained in:
xiaojunnuo
2024-12-25 17:05:24 +08:00
parent fe4786e168
commit f5ec9870fd
14 changed files with 158 additions and 92 deletions
@@ -122,12 +122,11 @@ export const useSettingStore = defineStore({
};
return vipLabelMap[this.plusInfo?.vipType || "free"];
},
// @ts-ignore
getHeaderMenus() {
getHeaderMenus(): { menus: any[] } {
// @ts-ignore
return this.headerMenus?.menus || { menus: [] };
},
isSuiteEnabled() {
isSuiteEnabled(): boolean {
// @ts-ignore
return this.suiteSetting?.enabled === true;
}