This commit is contained in:
zhuoda
2023-06-13 20:36:59 +08:00
parent 86cae060b7
commit 42d9fdd8d3
11 changed files with 32 additions and 32 deletions

View File

@@ -240,7 +240,7 @@ export const useUserStore = defineStore({
},
// 清空缓存
clearKeepAliveIncludes(val) {
if (!val || !this.keepAliveIncludes?.includes(val)) {
if (!val || !this.keepAliveIncludes.includes(val)) {
this.keepAliveIncludes = [];
return;
}