mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
update code style
This commit is contained in:
parent
06b17fd553
commit
7290e1070b
@ -237,7 +237,7 @@ export default class Upload extends React.Component<UploadProps, any> {
|
||||
this.setState({ fileList: info.fileList });
|
||||
}
|
||||
|
||||
const onChange = this.props.onChange;
|
||||
const { onChange } = this.props;
|
||||
if (onChange) {
|
||||
onChange(info);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user