Skip to content

Commit

Permalink
fix(tree): value prop type (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
mynetfan authored May 17, 2021
1 parent e4c3d09 commit 0112d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tree/src/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { propTypes } from '/@/utils/propTypes';

export const basicProps = {
value: {
type: Array as PropType<Keys>,
type: [Object, Array] as PropType<Keys | CheckKeys>,
},
renderIcon: {
type: Function as PropType<(params: Recordable) => string>,
Expand Down

0 comments on commit 0112d6b

Please sign in to comment.