diff --git a/ruoyi-ui/src/views/system/WxBuilding/index.vue b/ruoyi-ui/src/views/system/WxBuilding/index.vue index b830edd2..11ba5d37 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 f13321e3..71d4cff2 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 8fa60960..cc0adfe5 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 7f3a27e8..f50559d1 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) {