mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
Fix default locale in Upload, close #4697
This commit is contained in:
parent
a81bf8f73e
commit
f4021d5255
@ -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" />;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user