fix: saving of the last opened database is ineffective
This commit is contained in:
parent
686f73c3dd
commit
ba55cbcbd3
|
@ -119,7 +119,7 @@ const cleanHistory = async () => {
|
|||
if (success) {
|
||||
data.history = []
|
||||
tableRef.value?.scrollTo({ top: 0 })
|
||||
$message.success(i18n.t('common.success'))
|
||||
$message.success(i18n.t('dialogue.handle_succ'))
|
||||
}
|
||||
} finally {
|
||||
data.loading = false
|
||||
|
|
|
@ -212,7 +212,7 @@ onMounted(() => onReload())
|
|||
<template>
|
||||
<div class="nav-pane-container flex-box-v">
|
||||
<!-- top function bar -->
|
||||
<div class="flex-box-h nav-pane-func">
|
||||
<div class="flex-box-h nav-pane-func" style="height: 36px">
|
||||
<content-search-input
|
||||
:debounce-wait="1000"
|
||||
:full-search-icon="Search"
|
||||
|
|
|
@ -301,6 +301,7 @@ const openConnection = async (name) => {
|
|||
if (!isEmpty(connectingServer.value)) {
|
||||
tabStore.upsertTab({
|
||||
server: name,
|
||||
db: browserStore.getSelectedDB(name),
|
||||
})
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in New Issue