From 5e66a0a84f7f1735d01f592cf85505b2b21a11f7 Mon Sep 17 00:00:00 2001 From: Ultrame <1019265060@qq.com> Date: Sat, 6 Dec 2025 20:56:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=A4=B4=E5=83=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/user_pages/edit/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user_pages/edit/index.tsx b/src/user_pages/edit/index.tsx index 75ccbe6..91fde3f 100644 --- a/src/user_pages/edit/index.tsx +++ b/src/user_pages/edit/index.tsx @@ -161,7 +161,7 @@ const EditProfilePage: React.FC = () => { const tempFilePath = res.tempFilePaths[0]; try { const avatar_url = await UserService.upload_avatar(tempFilePath); - await updateUserInfo({ avatar: avatar_url }); + await updateUserInfo({ avatar_url: avatar_url }); Taro.showToast({ title: "头像上传成功", icon: "success",