修改主页
This commit is contained in:
@@ -104,8 +104,7 @@ export default {
|
||||
if (res.code == "200") {
|
||||
this.userInfo =res.data;
|
||||
this.userInfo.sexLabel = this.genderOptions[this.userInfo.gender-1].label;
|
||||
params.img = this.userInfo.img;
|
||||
this.$u.api.getImageUrl(params).then(res=>{
|
||||
this.$u.api.getImageUrl({}, this.userInfo.img).then(res=>{
|
||||
if (res.code == 200) {
|
||||
this.imgUrl=res.data[0].url;
|
||||
}
|
||||
|
Reference in New Issue
Block a user