1
0
mirror of https://github.com/tiny-craft/tiny-rdm.git synced 2025-05-25 01:12:33 +08:00

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

This commit is contained in:
Lykin 2024-08-20 14:57:51 +08:00
parent c082a0c41f
commit b506e8a6a4

@ -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)
},
/**