Преглед на файлове

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

xiaoxian521 преди 2 години
родител
ревизия
ca97465e9e
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  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