Browse Source

fix: 修复路由通过`query`或`params`传参,开启缓存后关闭标签页缓存失效问题

xiaoxian521 1 year ago
parent
commit
ca97465e9e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/store/modules/permission.ts

+ 0 - 1
src/store/modules/permission.ts

@@ -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