fix: auto refresh should not force activation of owning tabs (#336)

This commit is contained in:
Lykin 2024-08-20 14:57:51 +08:00
parent c082a0c41f
commit b506e8a6a4
1 changed files with 1 additions and 1 deletions

View File

@ -198,6 +198,7 @@ const useTabStore = defineStore('tab', {
})
this.tabList.push(tabItem)
tabIndex = this.tabList.length - 1
this._setActivatedIndex(tabIndex, true, subTab)
} else {
const tab = this.tabList[tabIndex]
tab.blank = false
@ -219,7 +220,6 @@ const useTabStore = defineStore('tab', {
tab.value = undefined
}
}
this._setActivatedIndex(tabIndex, true, subTab)
},
/**