Browse Source

fix: tree reative data error

renovate/vitejs-plugin-vue-jsx-4.x
tangjinzhou 6 months ago
parent
commit
40ad45bc05
  1. 2
      components/vc-tree/Tree.tsx

2
components/vc-tree/Tree.tsx

@ -110,7 +110,7 @@ export default defineComponent({
() => {
treeData.value =
props.treeData !== undefined
? toRaw(props.treeData).slice()
? props.treeData.slice()
: convertTreeToData(toRaw(props.children));
},
{

Loading…
Cancel
Save