图片显示优化一下2
parent
86efca84a4
commit
e1f4fded2f
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue