fix: add immediate:true to watcher so initial data renders on first mount
This commit is contained in:
@@ -89,6 +89,7 @@ watch(
|
|||||||
inlineRebuild()
|
inlineRebuild()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{ immediate: true },
|
||||||
)
|
)
|
||||||
|
|
||||||
onNodeClick((ev) => emit('selectNode', ev.node.id))
|
onNodeClick((ev) => emit('selectNode', ev.node.id))
|
||||||
|
|||||||
Reference in New Issue
Block a user