mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
fix: should pass style to upload correctly, close: #3072
This commit is contained in:
parent
e9d65904a1
commit
f04b65b25e
@ -274,7 +274,7 @@ export default class Upload extends React.Component<UploadProps, any> {
|
||||
onDragOver={this.onFileDrop}
|
||||
onDragLeave={this.onFileDrop}
|
||||
>
|
||||
<RcUpload {...props} ref="upload">
|
||||
<RcUpload {...props} ref="upload" className={`${prefixCls}-btn`}>
|
||||
<div className={`${prefixCls}-drag-container`}>
|
||||
{this.props.children}
|
||||
</div>
|
||||
|
@ -68,7 +68,7 @@
|
||||
"rc-tooltip": "~3.4.2",
|
||||
"rc-tree": "~1.3.6",
|
||||
"rc-tree-select": "~1.8.0",
|
||||
"rc-upload": "~2.0.3",
|
||||
"rc-upload": "~2.1.0",
|
||||
"rc-util": "^3.3.0",
|
||||
"react-addons-pure-render-mixin": "^15.0.0",
|
||||
"react-slick": "~0.14.2",
|
||||
|
Loading…
Reference in New Issue
Block a user