mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-05-11 12:58:05 +08:00
fix: auto refresh should not force activation of owning tabs (#336)
This commit is contained in:
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)
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user