fix(vue-flow): set applyDefault regardless of true/false
This commit is contained in:
@@ -143,7 +143,7 @@ export default (models: ToRefs<Pick<FlowProps, 'nodes' | 'edges' | 'modelValue'>
|
|||||||
watch(
|
watch(
|
||||||
() => props.applyDefault,
|
() => props.applyDefault,
|
||||||
() => {
|
() => {
|
||||||
if (props.applyDefault && isDef(props.applyDefault)) {
|
if (isDef(props.applyDefault)) {
|
||||||
store.applyDefault.value = props.applyDefault
|
store.applyDefault.value = props.applyDefault
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user