mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-10-15 11:40:38 +08:00
perf: move server status pane into browser pane, add server node to the top of database tree list
This commit is contained in:
@@ -27,18 +27,6 @@ const message = useMessage()
|
||||
const expandedKeys = ref([])
|
||||
const selectedKeys = ref([])
|
||||
|
||||
watch(selectedKeys, () => {
|
||||
const key = selectedKeys.value[0]
|
||||
// try to remove group name
|
||||
const kparts = split(key, '/')
|
||||
const len = size(kparts)
|
||||
if (len > 1) {
|
||||
connectionStore.selectedServer = kparts[len - 1]
|
||||
} else {
|
||||
connectionStore.selectedServer = selectedKeys.value[0]
|
||||
}
|
||||
})
|
||||
|
||||
const props = defineProps({
|
||||
filterPattern: {
|
||||
type: String,
|
||||
|
Reference in New Issue
Block a user