|
@@ -27,7 +27,6 @@ export const usePermissionStore = defineStore({
|
|
switch (mode) {
|
|
switch (mode) {
|
|
case "add":
|
|
case "add":
|
|
this.cachePageList.push(name);
|
|
this.cachePageList.push(name);
|
|
- this.cachePageList = [...new Set(this.cachePageList)];
|
|
|
|
break;
|
|
break;
|
|
case "delete":
|
|
case "delete":
|
|
// eslint-disable-next-line no-case-declarations
|
|
// eslint-disable-next-line no-case-declarations
|