Explorar o código

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

前端爱码士 %!s(int64=2) %!d(string=hai) anos
pai
achega
fd9450304d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/store/modules/multipleTab.ts

+ 1 - 0
src/store/modules/multipleTab.ts

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