图片显示优化一下2

pull/371/head
wuyibo 2024-05-14 14:25:07 +08:00
parent 86efca84a4
commit e1f4fded2f
4 changed files with 5 additions and 5 deletions

View File

@ -815,7 +815,7 @@ export default {
},
handleAvatarSuccess(res, file) {
this.imageUrl = URL.createObjectURL(file.raw);
let imgUrl = res.row[0];
let imgUrl = res.rows[0];
this.form.chatGroupUrl = "https://mall.lzsport.cn/image/"+imgUrl;
},
beforeAvatarUpload(file) {

View File

@ -384,12 +384,12 @@ export default {
},
handleTeamAvatarSuccess(res, file) {
this.imageUrl = URL.createObjectURL(file.raw);
let imgUrl = res.row[0];
let imgUrl = res.rows[0];
this.form.defaultPicture = "https://mall.lzsport.cn/image/"+imgUrl;
},
handleAvatarSuccess(res, file) {
this.imageUrl = URL.createObjectURL(file.raw);
let imgUrl = res.row[0];
let imgUrl = res.rows[0];
this.form.teamLogo = "https://mall.lzsport.cn/image/"+imgUrl;
},
beforeAvatarUpload(file) {

View File

@ -420,7 +420,7 @@ export default {
},
handleAvatarSuccess(res, file) {
this.imageUrl = URL.createObjectURL(file.raw);
let imgUrl = res.row[0];
let imgUrl = res.rows[0];
this.form.competitionBackImg = "https://mall.lzsport.cn/image/"+imgUrl;
},
beforeAvatarUpload(file) {

View File

@ -1266,7 +1266,7 @@ export default {
//logo
handleAvatarSuccess(res, file) {
this.imageUrl = URL.createObjectURL(file.raw);
let imgUrl = res.row[0];
let imgUrl = res.rows[0];
this.ofTeamForm.teamLogo = "https://mall.lzsport.cn/image/"+imgUrl;
},
beforeAvatarUpload(file) {