feat: add toggle functionality to onClick for improved node interaction

This commit is contained in:
t8y2
2026-04-30 00:03:06 +08:00
parent 820dd1ef17
commit 83a122f386
+1
View File
@@ -133,6 +133,7 @@ function onClick() {
const node = props.node;
if (node.type === "table" || node.type === "view") {
openData();
toggle();
} else if (canExpand) {
toggle();
}