mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 16:46:19 +08:00
feat: The accordion mode of the menu is configurable
This commit is contained in:
@@ -269,7 +269,7 @@ const useTabsStore = defineStore('tabs', {
|
||||
await this.closeTab(this.tabs[index], router);
|
||||
},
|
||||
getTabPath(tab: RouteRecordNormalized | TabItem) {
|
||||
return (tab as TabItem).fullPath || tab.path;
|
||||
return decodeURIComponent((tab as TabItem).fullPath || tab.path);
|
||||
},
|
||||
/**
|
||||
* @zh_CN 固定标签页
|
||||
|
Reference in New Issue
Block a user