Skip to content

Commit 40ad45b

Browse files
committed
fix: tree reative data error
1 parent 1c82940 commit 40ad45b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-tree/Tree.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default defineComponent({
110110
() => {
111111
treeData.value =
112112
props.treeData !== undefined
113-
? toRaw(props.treeData).slice()
113+
? props.treeData.slice()
114114
: convertTreeToData(toRaw(props.children));
115115
},
116116
{

0 commit comments

Comments
 (0)