提交 e28d6e1c 作者: ZhangLingKun

优化:问题修复

上级 a2adde6f
...@@ -82,7 +82,7 @@ const AddSolutionModal: React.FC< ...@@ -82,7 +82,7 @@ const AddSolutionModal: React.FC<
name='title' name='title'
rules={[{ required: true, message: '请输入方案标题' }]} rules={[{ required: true, message: '请输入方案标题' }]}
> >
<Input placeholder={'请输入方案标题'} maxLength={6} allowClear /> <Input placeholder={'请输入方案标题'} maxLength={10} allowClear />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
label='方案封面' label='方案封面'
...@@ -95,6 +95,7 @@ const AddSolutionModal: React.FC< ...@@ -95,6 +95,7 @@ const AddSolutionModal: React.FC<
defaultFileList={coverUrlList} defaultFileList={coverUrlList}
onChange={coverUrlChange} onChange={coverUrlChange}
fileLength={1} fileLength={1}
fileSize={50}
> >
<UploadOutlined /> <UploadOutlined />
</Uploader> </Uploader>
...@@ -111,6 +112,7 @@ const AddSolutionModal: React.FC< ...@@ -111,6 +112,7 @@ const AddSolutionModal: React.FC<
onChange={suggestFileChange} onChange={suggestFileChange}
fileType={['application/pdf']} fileType={['application/pdf']}
fileLength={1} fileLength={1}
fileSize={100}
> >
<UploadOutlined /> <UploadOutlined />
</Uploader> </Uploader>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论