diff --git a/src/store/modules/multipleTab.ts b/src/store/modules/multipleTab.ts index c84ad964..2fd67361 100644 --- a/src/store/modules/multipleTab.ts +++ b/src/store/modules/multipleTab.ts @@ -134,7 +134,7 @@ export const useMultipleTabStore = defineStore({ // Existing pages, do not add tabs repeatedly const tabHasExits = this.tabList.some((tab, index) => { updateIndex = index; - return (tab.fullPath || tab.path) === (fullPath || path); + return decodeURIComponent(tab.fullPath || tab.path) === decodeURIComponent(fullPath || path); }); // If the tab already exists, perform the update operation