mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 03:44:57 +08:00
图片显示优化一下1
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user