修复IconPicker组件删除时数据为数组的问题

This commit is contained in:
catchonme 2019-05-06 17:51:11 +08:00
parent 9fa581d396
commit 9f2417a3ff

View File

@ -155,7 +155,7 @@ export default class IconPickerControl extends React.PureComponent<IconPickerPro
const newValue = selectedOptions.concat();
newValue.pop();
onChange(newValue);
onChange('');
this.setState({
inputValue: ''
});