Fix default locale in Upload, close #4697

This commit is contained in:
afc163 2017-01-24 15:02:54 +08:00
parent a81bf8f73e
commit f4021d5255

View File

@ -71,7 +71,7 @@ export default class UploadList extends React.Component<UploadListProps, any> {
if (listType === 'picture' || listType === 'picture-card') {
if (file.status === 'uploading' || (!file.thumbUrl && !file.url)) {
if (listType === 'picture-card') {
icon = <div className={`${prefixCls}-list-item-uploading-text`}></div>;
icon = <div className={`${prefixCls}-list-item-uploading-text`}>Uploading...</div>;
} else {
icon = <Icon className={`${prefixCls}-list-item-thumbnail`} type="picture" />;
}