From 475bee28c640370d3cc8fabdd227f24121818d9d Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 4 Jan 2025 11:52:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E4=B8=8A=E4=BC=A0=E7=95=8C=E9=9D=A2=EF=BC=8C=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=B8=83=E5=B1=80=E5=92=8C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dialog/UserAddEditDialog.vue | 61 ++++++++++++--------- src/views/user/UserProfileView.vue | 6 +- 2 files changed, 37 insertions(+), 30 deletions(-) diff --git a/src/components/dialog/UserAddEditDialog.vue b/src/components/dialog/UserAddEditDialog.vue index 1761ff11..3009964a 100644 --- a/src/components/dialog/UserAddEditDialog.vue +++ b/src/components/dialog/UserAddEditDialog.vue @@ -269,38 +269,45 @@ onMounted(() => { > - + - +
+ + +
+
+ + + 上传新头像 + - -
-
- - - 上传新头像 - + - + + + 重置 + - - - 重置 - - - - - 默认 - + + + 默认 + +
+

允许 JPG、PNG、GIF、WEBP 格式, 最大尺寸 800KB。

- -

允许 JPG、PNG、GIF、WEBP 格式, 最大尺寸 800KB。

- +
diff --git a/src/views/user/UserProfileView.vue b/src/views/user/UserProfileView.vue index f806c9ba..ab8adc21 100644 --- a/src/views/user/UserProfileView.vue +++ b/src/views/user/UserProfileView.vue @@ -250,13 +250,13 @@ watch( - + -
-
+ +
上传新头像