Skip to content

Commit

Permalink
fix: tree reative data error
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jun 4, 2024
1 parent 1c82940 commit 40ad45b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/vc-tree/Tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default defineComponent({
() => {
treeData.value =
props.treeData !== undefined
? toRaw(props.treeData).slice()
? props.treeData.slice()
: convertTreeToData(toRaw(props.children));
},
{
Expand Down

0 comments on commit 40ad45b

Please sign in to comment.