diff --git a/ruoyi-ui/src/views/system/WxBuilding/index.vue b/ruoyi-ui/src/views/system/WxBuilding/index.vue index 11ba5d37..56c4265b 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.row[0]; + let imgUrl = res.rows[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 71d4cff2..1e6c6709 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.row[0]; + let imgUrl = res.rows[0]; this.form.defaultPicture = "https://mall.lzsport.cn/image/"+imgUrl; }, handleAvatarSuccess(res, file) { this.imageUrl = URL.createObjectURL(file.raw); - let imgUrl = res.row[0]; + let imgUrl = res.rows[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 cc0adfe5..355ff0d9 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.row[0]; + let imgUrl = res.rows[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 f50559d1..9864644a 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.row[0]; + let imgUrl = res.rows[0]; this.ofTeamForm.teamLogo = "https://mall.lzsport.cn/image/"+imgUrl; }, beforeAvatarUpload(file) {