diff --git a/packages/core/src/components/ConnectionLine/index.ts b/packages/core/src/components/ConnectionLine/index.ts index 89bc8763..56aa1396 100644 --- a/packages/core/src/components/ConnectionLine/index.ts +++ b/packages/core/src/components/ConnectionLine/index.ts @@ -91,7 +91,7 @@ const ConnectionLine = defineComponent({ return null } - const type = connectionLineType.value ?? connectionLineOptions.value.type + const type = connectionLineType.value ?? connectionLineOptions.value.type ?? ConnectionLineType.Bezier let dAttr = ''