调试接口
This commit is contained in:
@ -191,7 +191,7 @@
|
||||
try {
|
||||
const response = JSON.parse(e.file.response)
|
||||
if (response.code) {
|
||||
const avatarUrl = response.data.uri
|
||||
const avatarUrl = response.data.url
|
||||
await updateUserInfo({ field: 'avatar', value: avatarUrl })
|
||||
user.value.avatar = avatarUrl
|
||||
toast.info('头像上传成功')
|
||||
|
||||
Reference in New Issue
Block a user