fix: add immediate:true to watcher so initial data renders on first mount

This commit is contained in:
2026-06-08 12:14:57 +08:00
parent b48a760a1e
commit f439f7784e

View File

@@ -89,6 +89,7 @@ watch(
inlineRebuild()
}
},
{ immediate: true },
)
onNodeClick((ev) => emit('selectNode', ev.node.id))