fix(flow): set default prop as undefined for connectOnClick

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent 25d769d553
commit 9a875430ec
+1
View File
@@ -21,6 +21,7 @@ const props = withDefaults(defineProps<FlowProps>(), {
panOnDrag: undefined,
applyDefault: undefined,
fitViewOnInit: undefined,
connectOnClick: undefined,
connectionLineStyle: () => null,
})
const emit = defineEmits([...Object.keys(createHooks()), 'update:modelValue', 'update:edges', 'update:nodes'])