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