fix(nodes): prevent initial dimensions being emitted twice
This commit is contained in:
@@ -97,7 +97,7 @@ onMounted(() => {
|
|||||||
() => {
|
() => {
|
||||||
updateNodeDimensions([{ id, nodeElement: nodeElement.value }])
|
updateNodeDimensions([{ id, nodeElement: nodeElement.value }])
|
||||||
},
|
},
|
||||||
{ immediate: true, flush: 'post' },
|
{ flush: 'post' },
|
||||||
)
|
)
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
|
|||||||
Reference in New Issue
Block a user