mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-04-23 06:18:05 +08:00
fix: can not load the same key after delete and re-added (#226)
This commit is contained in:
parent
33caf873d6
commit
1bf4b0eee1
@ -724,6 +724,7 @@ const useTabStore = defineStore('tab', {
|
||||
if (keys == null) {
|
||||
// select nothing
|
||||
tab.selectedKeys = []
|
||||
tab.activatedKey = null
|
||||
} else if (typeof keys === 'string') {
|
||||
tab.selectedKeys = [keys]
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user