修改主页

This commit is contained in:
2025-09-12 14:40:18 +08:00
parent 44059dd320
commit 023dfb3be1
4 changed files with 112 additions and 79 deletions

View File

@@ -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;
}