fix: 关闭非当前的标签没有同步清理cacheTabList数据 (#2306)

This commit is contained in:
前端爱码士 2022-10-25 08:49:06 +08:00 committed by GitHub
parent bc499744c0
commit fd9450304d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ export const useMultipleTabStore = defineStore({
if (path !== tab.path) { if (path !== tab.path) {
// Closed is not the activation tab // Closed is not the activation tab
close(tab); close(tab);
this.updateCacheTab();
return; return;
} }