修改上传图片路径参数

This commit is contained in:
wangxiaowei
2025-12-20 09:20:39 +08:00
parent 1a8e0ae847
commit 7e3b9c83d2
13 changed files with 49 additions and 59 deletions

View File

@ -521,7 +521,7 @@
try {
const response = JSON.parse(e.file.response)
if (response.code) {
const avatarUrl = response.data.uri
const avatarUrl = response.data.url
await updateUserInfo({ avatar: avatarUrl })
form.image = avatarUrl
toast.info('头像上传成功')