'Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead.',
);
}
if(treeCheckStrictly||multiple||treeCheckable){
warning(
!value||Array.isArray(value),
'`value` should be an array when `TreeSelect` is checkable or multiple.',
);
}else{
warning(!Array.isArray(value),'`value` should not be array when `TreeSelect` is single mode.');