mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 08:27:54 +08:00
fix: 修复路由通过query
或params
传参,开启缓存后关闭标签页缓存失效问题
This commit is contained in:
parent
89a20c6e46
commit
ca97465e9e
@ -27,7 +27,6 @@ export const usePermissionStore = defineStore({
|
||||
switch (mode) {
|
||||
case "add":
|
||||
this.cachePageList.push(name);
|
||||
this.cachePageList = [...new Set(this.cachePageList)];
|
||||
break;
|
||||
case "delete":
|
||||
// eslint-disable-next-line no-case-declarations
|
||||
|
Loading…
x
Reference in New Issue
Block a user