From fff07a0cbb5fe2cb1398d4068d4e60bdbfb320a9 Mon Sep 17 00:00:00 2001 From: xingyu Date: Mon, 19 Jun 2023 17:47:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/user.data.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/views/system/user/user.data.ts b/src/views/system/user/user.data.ts index b8c231ca..66c1bf40 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',