|
|
@ -167,13 +167,13 @@ const ProjectAddModel = ({ dispatch, actions, user, modelData, close, success, q |
|
|
|
<Form.Item |
|
|
|
label="结构物图片" |
|
|
|
name='img' |
|
|
|
help={<div style={{ fontSize: 12 }}>说明:请上传png,jpg格式图片,图片大小不超过5M</div>} |
|
|
|
help={<div style={{ fontSize: 12 }}>说明:请上传png,jpg格式图片,图片大小不超过10M</div>} |
|
|
|
> |
|
|
|
<Uploads |
|
|
|
listType='picture-card' |
|
|
|
uploadType='project' |
|
|
|
maxFilesNum={1} |
|
|
|
maxFileSize={5} |
|
|
|
maxFileSize={10} |
|
|
|
isQiniu={true} |
|
|
|
fileTypes={["png", "jpg"]} |
|
|
|
defaultValue={(modelData.img || []).map(s => { |
|
|
|