mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 09:34:19 +08:00
fix(tabs): fix the problem that other functions are invalid when the tab is closed, close #376
This commit is contained in:
@@ -267,7 +267,7 @@ export const useMultipleTabStore = defineStore({
|
||||
if (path !== route.fullPath) {
|
||||
const closeItem = this.tabList.find((item) => item.path === path);
|
||||
if (!closeItem) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
const affix = closeItem?.meta?.affix ?? false;
|
||||
if (!affix) {
|
||||
|
Reference in New Issue
Block a user