diff --git a/src/components/Tree/src/props.ts b/src/components/Tree/src/props.ts index ff356513..2d83aa88 100644 --- a/src/components/Tree/src/props.ts +++ b/src/components/Tree/src/props.ts @@ -6,7 +6,7 @@ import { propTypes } from '/@/utils/propTypes'; export const basicProps = { value: { - type: Array as PropType, + type: [Object, Array] as PropType, }, renderIcon: { type: Function as PropType<(params: Recordable) => string>,