diff --git a/src/views/system/user/user.data.ts b/src/views/system/user/user.data.ts index b8c231c..66c1bf4 100644 --- a/src/views/system/user/user.data.ts +++ b/src/views/system/user/user.data.ts @@ -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',