feat: 处理文件上传参数
This commit is contained in:
@@ -68,7 +68,7 @@ function FormComponent(props: Props) {
|
||||
</Form.Item>
|
||||
<Form.Item triggerPropName="fileList" label="用户头像"
|
||||
field="avatar">
|
||||
<UploadFile limit={1} dir="/user"/>
|
||||
<UploadFile limit={1} dir="user"/>
|
||||
</Form.Item>
|
||||
<Form.Item label="用户昵称" field="name" rules={[{required: true}]}>
|
||||
<Input placeholder="请输入用户昵称"/>
|
||||
|
||||
Reference in New Issue
Block a user