|
|
|
@ -465,7 +465,7 @@ class Registration extends React.Component {
|
|
|
|
|
Jointheteam = () => {
|
|
|
|
|
if (this.props.user.is_teacher === true) {
|
|
|
|
|
try {
|
|
|
|
|
if (this.props.teamutiple_limited === true) {
|
|
|
|
|
if (this.state.teamutiple_limited === true) {
|
|
|
|
|
if (this.state.enrolled === true) {
|
|
|
|
|
//已经报名
|
|
|
|
|
this.setState({
|
|
|
|
@ -481,7 +481,7 @@ class Registration extends React.Component {
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
try {
|
|
|
|
|
if (this.props.mutiple_limited === true) {
|
|
|
|
|
if (this.state.mutiple_limited === true) {
|
|
|
|
|
if (this.state.enrolled === true) {
|
|
|
|
|
//已经报名
|
|
|
|
|
this.setState({
|
|
|
|
@ -548,7 +548,7 @@ class Registration extends React.Component {
|
|
|
|
|
|
|
|
|
|
if (this.props.user.is_teacher === true) {
|
|
|
|
|
try {
|
|
|
|
|
if (this.props.teamutiple_limited === true) {
|
|
|
|
|
if (this.state.teamutiple_limited === true) {
|
|
|
|
|
if (this.state.enrolled === true) {
|
|
|
|
|
//已经报名
|
|
|
|
|
this.setState({
|
|
|
|
@ -564,7 +564,7 @@ class Registration extends React.Component {
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
try {
|
|
|
|
|
if (this.props.mutiple_limited === true) {
|
|
|
|
|
if (this.state.mutiple_limited === true) {
|
|
|
|
|
if (this.state.enrolled === true) {
|
|
|
|
|
//已经报名
|
|
|
|
|
this.setState({
|
|
|
|
|