mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
feat:changeValue参数修改
This commit is contained in:
parent
fc1d3b9be3
commit
40d767ec98
@ -333,7 +333,7 @@ export default class SelectControl extends React.Component<SelectProps, any> {
|
|||||||
doAction(action: Action, data: object, throwErrors: boolean): any {
|
doAction(action: Action, data: object, throwErrors: boolean): any {
|
||||||
const {simpleValue, resetValue} = this.props;
|
const {simpleValue, resetValue} = this.props;
|
||||||
if (action.actionType === 'clear') {
|
if (action.actionType === 'clear') {
|
||||||
this.changeValue(resetValue ? resetValue : '');
|
this.changeValue(resetValue ?? '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user