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

This commit is contained in:
Netfan 2021-05-17 13:32:43 +08:00 committed by GitHub
parent e4c3d0918a
commit 0112d6b313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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