fix(structure): initialize dialogs and edit clickhouse columns

This commit is contained in:
t8y2
2026-05-19 13:31:42 +08:00
parent 5b3b69f7fb
commit 69ee7f2d8b
18 changed files with 325 additions and 120 deletions
@@ -376,13 +376,17 @@ watch(sqlConnections, () => {
connectionId.value = resolveInitialConnectionId();
});
watch(open, (value) => {
if (!value) return;
resetState();
if (connectionId.value) {
loadDatabasesForConnection(connectionId.value);
}
});
watch(
open,
(value) => {
if (!value) return;
resetState();
if (connectionId.value) {
loadDatabasesForConnection(connectionId.value);
}
},
{ immediate: true },
);
</script>
<template>