修复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