mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-01-24 02:00:22 +08:00
fix(tree): value prop type (#613)
This commit is contained in:
parent
e4c3d0918a
commit
0112d6b313
@ -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…
Reference in New Issue
Block a user