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

This commit is contained in:
xiaoxian521 2023-05-01 11:34:16 +08:00
parent 89a20c6e46
commit ca97465e9e

View File

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