优化代码

This commit is contained in:
srleng 2022-05-18 11:18:43 +08:00
parent 34d1ed23a9
commit e4923ed543
2 changed files with 2 additions and 1 deletions

View File

@ -137,6 +137,7 @@ register('zh-CN', {
'File.sizeLimit': '文件大小不超过 {{maxSize}} B',
'File.start': '开始上传',
'File.upload': '文件上传',
'Image.upload': '图片上传',
'File.uploadFailed': '接口返回错误,请仔细检查',
'File.uploading': '上传中...',
'FormItem.autoUpdateloadFaild': '接口返回错误,请仔细检查',

View File

@ -1622,7 +1622,7 @@ export default class ImageControl extends React.Component<
) : (
<>
<Icon icon="plus" className="icon" />
<span>{__('File.upload')}</span>
<span>{__('Image.upload')}</span>
</>
)}