From 86efca84a4a94af8788e5e8fba4bbf013172b798 Mon Sep 17 00:00:00 2001 From: wuyibo <771227828@qq.com> Date: Tue, 14 May 2024 14:22:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=98=BE=E7=A4=BA=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E4=B8=80=E4=B8=8B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/system/WxBuilding/index.vue | 2 +- ruoyi-ui/src/views/system/basketBallTeam/index.vue | 4 ++-- ruoyi-ui/src/views/system/competition/index.vue | 2 +- ruoyi-ui/src/views/system/competitionSet/index.vue | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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) {