|
|
|
@ -70,7 +70,7 @@ export const useMultipleTabStore = defineStore({
@@ -70,7 +70,7 @@ export const useMultipleTabStore = defineStore({
|
|
|
|
|
// 忽略缓存
|
|
|
|
|
const needCache = item.meta?.keepAlive; |
|
|
|
|
if (!needCache) continue; |
|
|
|
|
const name = item.name as string; |
|
|
|
|
const name = item.meta?.compName || item.name as string; |
|
|
|
|
cacheMap.add(name); |
|
|
|
|
} |
|
|
|
|
this.cacheTabList = cacheMap; |
|
|
|
|