修改页面

This commit is contained in:
2025-09-16 10:00:38 +08:00
parent a3aaf7dd4e
commit 1384c92fab
12 changed files with 127 additions and 125 deletions

View File

@@ -106,7 +106,7 @@ export default {
this.userInfo.sexLabel = this.genderOptions[this.userInfo.gender-1].label;
this.$u.api.getImageUrl({}, this.userInfo.img).then(res=>{
if (res.code == 200) {
this.imgUrl=res.data[0].url;
this.imgUrl=this.vuex_config.baseUrl + res.data[0].url;
}
});
}
@@ -146,7 +146,8 @@ export default {
vm: this
});
this.userInfo.img = result[0].data.ossId;
this.imgUrl = result[0].data.url;
this.imgUrl = this.vuex_config.imgUrl +result[0].data.url;
console.log(this.imgUrl);
const allSuccess = result.every(item => item.code == 200);
if (!allSuccess) {
uni.showToast({