From 830bc21661de182c6e1bdd72dcc58dafc92a298a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Tue, 29 Oct 2019 18:55:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/competition/Registration.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/react/src/modules/competition/Registration.js b/public/react/src/modules/competition/Registration.js index 32549a873..19ecb191a 100644 --- a/public/react/src/modules/competition/Registration.js +++ b/public/react/src/modules/competition/Registration.js @@ -290,11 +290,11 @@ class Registration extends React.Component { } } else { try { - if (result.data.my_teams.length === 0) { + if (result.data.competition_teams.length === 0) { this.setState({ type: 6, typeysl: 1, - data: result.data.my_teams, + data: result.data.competition_teams, count: result.data.count, competition_teams: result.data.competition_teams, personal: result.data.personal, @@ -306,7 +306,7 @@ class Registration extends React.Component { this.setState({ type: 6, typeysl: 0, - data: result.data.my_teams, + data: result.data.competition_teams, count: result.data.count, competition_teams: result.data.competition_teams, personal: result.data.personal, @@ -319,7 +319,7 @@ class Registration extends React.Component { this.setState({ type: 6, typeysl: 1, - data: result.data.my_teams, + data: result.data.competition_teams, count: result.data.count, competition_teams: result.data.competition_teams, personal: result.data.personal,