Browse Source

Merge branch 'master' into antd-3.0

pull/7736/head
afc163 7 years ago
parent
commit
2ebf70013b
  1. 4
      components/checkbox/style/mixin.less
  2. 2
      components/upload/UploadList.tsx

4
components/checkbox/style/mixin.less

@ -153,8 +153,8 @@
.reset-component;
cursor: pointer;
display: inline-block;
&:not(:last-child) {
margin-right: 8px;
& + & {
margin-left: 8px;
}
}

2
components/upload/UploadList.tsx

@ -26,7 +26,7 @@ export default class UploadList extends React.Component<UploadListProps, any> {
};
handleClose = (file: UploadFile) => {
const onRemove = this.props.onRemove;
const { onRemove } = this.props;
if (onRemove) {
onRemove(file);
}

Loading…
Cancel
Save