feat: 🚀 切换站点清空语言

This commit is contained in:
2025-08-07 14:51:54 +08:00
parent 1566a72cb6
commit 29d6ba59c9
6 changed files with 387 additions and 48 deletions

View File

@@ -30,12 +30,13 @@ export const useTabsStore = defineStore({
},
// Close MultipleTab
async closeMultipleTab(tabsMenuValue?: string) {
this.tabsMenuList = this.tabsMenuList.filter(item => {
return item.path === tabsMenuValue || !item.close;
this.tabsMenuList = this.tabsMenuList.filter((item: any) => {
return item.path === tabsMenuValue || !item.hidden;
});
},
// Set Tabs
async setTabs(tabsMenuList: any[]) {
console.log(tabsMenuList, "=tabsMenuList=");
this.tabsMenuList = tabsMenuList;
},
// Set Tabs Title