'我的页面头像和姓名修改'

This commit is contained in:
unknown 2026-01-03 12:29:57 +08:00
parent db06ceb31e
commit 9420c7c0c1

View File

@ -431,12 +431,12 @@
return false; return false;
} }
if(res.data.user.avatar){ if(res.data.user.avatar){
_this.avatar = res.data.user.avatar _this.avatar = this.path + res.data.person.avatar
} }
_this.userinfo = res.data.user _this.userinfo = res.data.user
_this.personInfo = res.data.person _this.personInfo = res.data.person
// console.log(res.data.user) // console.log(res.data.user)
_this.nickname = res.data.user.nickname _this.nickname = res.data.person.realname
_this.point = res.data.user.user_point _this.point = res.data.user.user_point
_this.user_money = res.data.user.money _this.user_money = res.data.user.money
_this.person_money = res.data.user.person_money _this.person_money = res.data.user.person_money