fix: 关闭非当前的标签没有同步清理cacheTabList数据 (#2306)
This commit is contained in:
parent
bc499744c0
commit
fd9450304d
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue