feat: 添加图片上传示例
parent
95bb3a2d28
commit
fff07a0cbb
|
@ -128,6 +128,15 @@ export const formSchema: FormSchema[] = [
|
|||
required: true,
|
||||
component: 'Input'
|
||||
},
|
||||
{
|
||||
label: '用户头像',
|
||||
field: 'avatar',
|
||||
component: 'FileUpload',
|
||||
componentProps: {
|
||||
maxCount: 1,
|
||||
fileType: 'image'
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '归属部门',
|
||||
field: 'deptId',
|
||||
|
|
Loading…
Reference in New Issue