图片显示优化一下1

pull/371/head
wuyibo 1 year ago
parent 002cbc1c81
commit 86efca84a4

@ -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.data[0]; let imgUrl = res.row[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.data[0]; let imgUrl = res.row[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.data[0]; let imgUrl = res.row[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.data[0]; let imgUrl = res.row[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.data[0]; let imgUrl = res.row[0];
this.ofTeamForm.teamLogo = "https://mall.lzsport.cn/image/"+imgUrl; this.ofTeamForm.teamLogo = "https://mall.lzsport.cn/image/"+imgUrl;
}, },
beforeAvatarUpload(file) { beforeAvatarUpload(file) {

Loading…
Cancel
Save