feat:changeValue参数修改

This commit is contained in:
xujiahao01 2022-01-28 19:36:56 +08:00
parent fc1d3b9be3
commit 40d767ec98

View File

@ -333,7 +333,7 @@ export default class SelectControl extends React.Component<SelectProps, any> {
doAction(action: Action, data: object, throwErrors: boolean): any {
const {simpleValue, resetValue} = this.props;
if (action.actionType === 'clear') {
this.changeValue(resetValue ? resetValue : '');
this.changeValue(resetValue ?? '');
}
}