We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06b9730 + 169df2c commit 7a47fb4Copy full SHA for 7a47fb4
src/components/Tree/index.tsx
@@ -18,7 +18,7 @@ export default defineComponent({
18
...treeNodePropsPass,
19
// JSONLike data.
20
data: {
21
- type: Object as PropType<JSONDataType>,
+ type: [String, Number, Boolean, Array, Object] as PropType<JSONDataType>,
22
default: null,
23
},
24
// Define the depth of the tree, nodes greater than this depth will not be expanded.
0 commit comments