Commit fd9450304d1f2920cde10058462f7aba36d30828
Committed by
GitHub
1 parent
bc499744
fix: 关闭非当前的标签没有同步清理cacheTabList数据 (#2306)
Showing
1 changed file
with
1 additions
and
0 deletions
src/store/modules/multipleTab.ts
@@ -187,6 +187,7 @@ export const useMultipleTabStore = defineStore({ | @@ -187,6 +187,7 @@ export const useMultipleTabStore = defineStore({ | ||
187 | if (path !== tab.path) { | 187 | if (path !== tab.path) { |
188 | // Closed is not the activation tab | 188 | // Closed is not the activation tab |
189 | close(tab); | 189 | close(tab); |
190 | + this.updateCacheTab(); | ||
190 | return; | 191 | return; |
191 | } | 192 | } |
192 | 193 |