fix: placeholder for cascader
This commit is contained in:
parent
c812d97527
commit
b3a35146cb
@ -39,6 +39,7 @@ export const Cascader = connect({
|
||||
value = [],
|
||||
onChange,
|
||||
schema = {},
|
||||
placeholder,
|
||||
// TODO(feature): 增加静态数据支持
|
||||
// dataSource: []
|
||||
} = props;
|
||||
@ -138,6 +139,7 @@ export const Cascader = connect({
|
||||
|
||||
return (
|
||||
<AntdCascader
|
||||
placeholder={placeholder}
|
||||
disabled={disabled}
|
||||
options={options}
|
||||
value={value.map(item => item[valueField])}
|
||||
|
Loading…
Reference in New Issue
Block a user