dev_auth
杨树林 5 years ago
parent 8b98534c39
commit 830bc21661

@ -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,

Loading…
Cancel
Save