dev_sync_trustie
杨树林 6 years ago
parent bf7caa73ab
commit ad044af7a2

@ -546,7 +546,6 @@ class Registration extends React.Component {
}; };
//刷新战队 //刷新战队
Refreshteam = () => { Refreshteam = () => {
const {keyword, page, per_page} = this.state; const {keyword, page, per_page} = this.state;
this.Getdata(keyword, page, per_page, this.props.user.admin); this.Getdata(keyword, page, per_page, this.props.user.admin);
this.GetenrollmentAPI(); this.GetenrollmentAPI();
@ -600,7 +599,6 @@ class Registration extends React.Component {
if (enroll_ended === true) { if (enroll_ended === true) {
//已截止 //已截止
this.props.showNotification(`报名已截止`); this.props.showNotification(`报名已截止`);
return; return;
} }
if (enrolled === true) { if (enrolled === true) {
@ -623,16 +621,6 @@ class Registration extends React.Component {
render() { render() {
const {page, pages, limit, type, tmodalsType, tmodalsTypes, data, count, competition_teams, Newtit, itemiddata, messagePerbool, messageexitol, GetenrollmentAPI, loadingstate, pint} = this.state; const {page, pages, limit, type, tmodalsType, tmodalsTypes, data, count, competition_teams, Newtit, itemiddata, messagePerbool, messageexitol, GetenrollmentAPI, loadingstate, pint} = this.state;
// var listItems = "";
// if (competition_teams) {
// listItems = competition_teams.map((item, index) =>
//
// );
// }
// const listItemss = test.map((item, index) =>
//
// );
return ( return (
<div className="newMain clearfix "> <div className="newMain clearfix ">

Loading…
Cancel
Save