mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +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