Skip to content

Commit 7b39b45

Browse files
committed
chore(docs): update layout example
1 parent 22003d4 commit 7b39b45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/examples/layout/AnimationEdge.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ const labelPosition = ref({ x: 0, y: 0 })
5454
5555
const currentLength = ref(0)
5656
57-
const targetNodeData = toRef(() => nodesData.value[0])
57+
const targetNodeData = toRef(() => nodesData.value[0].data)
5858
59-
const sourceNodeData = toRef(() => nodesData.value[1])
59+
const sourceNodeData = toRef(() => nodesData.value[1].data)
6060
6161
const isFinished = toRef(() => sourceNodeData.value.isFinished)
6262

0 commit comments

Comments
 (0)