图片显示优化一下2
parent
86efca84a4
commit
e1f4fded2f
|
|
@ -815,7 +815,7 @@ export default {
|
||||||
},
|
},
|
||||||
handleAvatarSuccess(res, file) {
|
handleAvatarSuccess(res, file) {
|
||||||
this.imageUrl = URL.createObjectURL(file.raw);
|
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;
|
this.form.chatGroupUrl = "https://mall.lzsport.cn/image/"+imgUrl;
|
||||||
},
|
},
|
||||||
beforeAvatarUpload(file) {
|
beforeAvatarUpload(file) {
|
||||||
|
|
|
||||||
|
|
@ -384,12 +384,12 @@ export default {
|
||||||
},
|
},
|
||||||
handleTeamAvatarSuccess(res, file) {
|
handleTeamAvatarSuccess(res, file) {
|
||||||
this.imageUrl = URL.createObjectURL(file.raw);
|
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;
|
this.form.defaultPicture = "https://mall.lzsport.cn/image/"+imgUrl;
|
||||||
},
|
},
|
||||||
handleAvatarSuccess(res, file) {
|
handleAvatarSuccess(res, file) {
|
||||||
this.imageUrl = URL.createObjectURL(file.raw);
|
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;
|
this.form.teamLogo = "https://mall.lzsport.cn/image/"+imgUrl;
|
||||||
},
|
},
|
||||||
beforeAvatarUpload(file) {
|
beforeAvatarUpload(file) {
|
||||||
|
|
|
||||||
|
|
@ -420,7 +420,7 @@ export default {
|
||||||
},
|
},
|
||||||
handleAvatarSuccess(res, file) {
|
handleAvatarSuccess(res, file) {
|
||||||
this.imageUrl = URL.createObjectURL(file.raw);
|
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;
|
this.form.competitionBackImg = "https://mall.lzsport.cn/image/"+imgUrl;
|
||||||
},
|
},
|
||||||
beforeAvatarUpload(file) {
|
beforeAvatarUpload(file) {
|
||||||
|
|
|
||||||
|
|
@ -1266,7 +1266,7 @@ export default {
|
||||||
//上传球队logo
|
//上传球队logo
|
||||||
handleAvatarSuccess(res, file) {
|
handleAvatarSuccess(res, file) {
|
||||||
this.imageUrl = URL.createObjectURL(file.raw);
|
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;
|
this.ofTeamForm.teamLogo = "https://mall.lzsport.cn/image/"+imgUrl;
|
||||||
},
|
},
|
||||||
beforeAvatarUpload(file) {
|
beforeAvatarUpload(file) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue