翻译成英文提示

main
Ycc 1 month ago
parent 2a6c5ecf9f
commit b3bac86be5

@ -190,14 +190,14 @@ export const ImageUploader = props => {
removeIcon: file => { removeIcon: file => {
return ( return (
<Popconfirm <Popconfirm
title="删除" title="Delete"
description="是否要删除文件?" description="Are you sure you want to delete the file?"
onConfirm={() => { onConfirm={() => {
handleDelete(file); handleDelete(file);
}} }}
onCancel={() => setFileList([...fileList])} onCancel={() => setFileList([...fileList])}
okText="" okText="Yes"
cancelText=""> cancelText="No">
<DeleteOutlined /> <DeleteOutlined />
</Popconfirm> </Popconfirm>
); );
@ -205,7 +205,7 @@ export const ImageUploader = props => {
}}> }}>
<div> <div>
<UploadOutlined /> <UploadOutlined />
<div style={{ marginTop: 8 }}>Upload</div> <div style={{ marginTop: 8 }}>Select File</div>
</div> </div>
</Upload> </Upload>
<List loading={isLoading} dataSource={fileList} /> <List loading={isLoading} dataSource={fileList} />

Loading…
Cancel
Save