Browse Source

fix upload prefixCls

pull/3953/head
afc163 8 years ago
parent
commit
f77d568322
  1. 3
      components/upload/index.tsx

3
components/upload/index.tsx

@ -61,6 +61,7 @@ export default class Upload extends React.Component<UploadProps, any> {
static Dragger = Dragger;
static defaultProps = {
prefixCls: 'ant-upload',
type: 'select',
multiple: false,
action: '',
@ -238,7 +239,7 @@ export default class Upload extends React.Component<UploadProps, any> {
render() {
const {
prefixCls = 'ant-upload', showUploadList, listType, onPreview,
prefixCls = '', showUploadList, listType, onPreview,
type, disabled, children, className,
} = this.props;

Loading…
Cancel
Save