Commit fd9450304d1f2920cde10058462f7aba36d30828

Authored by 前端爱码士
Committed by GitHub
1 parent bc499744

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

src/store/modules/multipleTab.ts
... ... @@ -187,6 +187,7 @@ export const useMultipleTabStore = defineStore({
187 187 if (path !== tab.path) {
188 188 // Closed is not the activation tab
189 189 close(tab);
  190 + this.updateCacheTab();
190 191 return;
191 192 }
192 193  
... ...