Compare commits
No commits in common. "b506e8a6a4bb9c35c6e52664f8f608e9d9a7be58" and "970ebcf9024d169ecb54c6c9c17795bca304939c" have entirely different histories.
b506e8a6a4
...
970ebcf902
|
@ -174,10 +174,10 @@ const onAdd = async () => {
|
|||
tabStore.setSelectedKeys(server, nodeKey)
|
||||
browserStore.reloadKey({ server, db, key })
|
||||
}
|
||||
dialogStore.closeNewKeyDialog()
|
||||
} else if (!isEmpty(msg)) {
|
||||
$message.error(msg)
|
||||
}
|
||||
dialogStore.closeNewKeyDialog()
|
||||
} catch (e) {
|
||||
return false
|
||||
}
|
||||
|
|
|
@ -198,7 +198,6 @@ 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
|
||||
|
@ -220,6 +219,7 @@ const useTabStore = defineStore('tab', {
|
|||
tab.value = undefined
|
||||
}
|
||||
}
|
||||
this._setActivatedIndex(tabIndex, true, subTab)
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue