diff --git a/ruoyi-ui/src/views/system/WxBuilding/index.vue b/ruoyi-ui/src/views/system/WxBuilding/index.vue index b830edd24..11ba5d37b 100644 --- a/ruoyi-ui/src/views/system/WxBuilding/index.vue +++ b/ruoyi-ui/src/views/system/WxBuilding/index.vue @@ -815,7 +815,7 @@ export default { }, handleAvatarSuccess(res, file) { 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; }, beforeAvatarUpload(file) { diff --git a/ruoyi-ui/src/views/system/basketBallTeam/index.vue b/ruoyi-ui/src/views/system/basketBallTeam/index.vue index f13321e34..71d4cff2f 100644 --- a/ruoyi-ui/src/views/system/basketBallTeam/index.vue +++ b/ruoyi-ui/src/views/system/basketBallTeam/index.vue @@ -384,12 +384,12 @@ export default { }, handleTeamAvatarSuccess(res, file) { 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; }, handleAvatarSuccess(res, file) { 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; }, beforeAvatarUpload(file) { diff --git a/ruoyi-ui/src/views/system/competition/index.vue b/ruoyi-ui/src/views/system/competition/index.vue index 8fa60960a..cc0adfe58 100644 --- a/ruoyi-ui/src/views/system/competition/index.vue +++ b/ruoyi-ui/src/views/system/competition/index.vue @@ -420,7 +420,7 @@ export default { }, handleAvatarSuccess(res, file) { 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; }, beforeAvatarUpload(file) { diff --git a/ruoyi-ui/src/views/system/competitionSet/index.vue b/ruoyi-ui/src/views/system/competitionSet/index.vue index 7f3a27e8a..f50559d10 100644 --- a/ruoyi-ui/src/views/system/competitionSet/index.vue +++ b/ruoyi-ui/src/views/system/competitionSet/index.vue @@ -1266,7 +1266,7 @@ export default { //上传球队logo handleAvatarSuccess(res, file) { 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; }, beforeAvatarUpload(file) {