mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
修复IconPicker组件删除时数据为数组的问题
This commit is contained in:
parent
9fa581d396
commit
9f2417a3ff
@ -155,7 +155,7 @@ export default class IconPickerControl extends React.PureComponent<IconPickerPro
|
||||
const newValue = selectedOptions.concat();
|
||||
newValue.pop();
|
||||
|
||||
onChange(newValue);
|
||||
onChange('');
|
||||
this.setState({
|
||||
inputValue: ''
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user