mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 13:09:07 +08:00
需要把事件阻止掉
This commit is contained in:
parent
286f4836fa
commit
e42a4f5ab1
@ -34,7 +34,8 @@ export class ResultBox extends React.Component<ResultBoxProps> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
@autobind
|
@autobind
|
||||||
clearValue() {
|
clearValue(e: React.MouseEvent<any>) {
|
||||||
|
e.preventDefault();
|
||||||
const onResultChange = this.props.onResultChange;
|
const onResultChange = this.props.onResultChange;
|
||||||
onResultChange && onResultChange([]);
|
onResultChange && onResultChange([]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user