Browse Source

chore: compose workflow api

master
wangxiang 2 years ago
parent
commit
d6dc72553a
No known key found for this signature in database
GPG Key ID: 1BA7946AB6B232E4
  1. 2
      src/store/modules/multipleTab.ts

2
src/store/modules/multipleTab.ts

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

Loading…
Cancel
Save