mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-01-24 10:33:47 +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 = {
|
export const basicProps = {
|
||||||
value: {
|
value: {
|
||||||
type: Array as PropType<Keys>,
|
type: [Object, Array] as PropType<Keys | CheckKeys>,
|
||||||
},
|
},
|
||||||
renderIcon: {
|
renderIcon: {
|
||||||
type: Function as PropType<(params: Recordable) => string>,
|
type: Function as PropType<(params: Recordable) => string>,
|
||||||
|
Loading…
Reference in New Issue
Block a user