Browse Source

fix(tree): value prop type (#613)

pull/618/head
Netfan 6 years ago
committed by GitHub
parent
commit
0112d6b313
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/Tree/src/props.ts

2
src/components/Tree/src/props.ts

@ -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>,

Loading…
Cancel
Save