简介
-
@@ -249,7 +249,7 @@ class Challenges extends Component {
- {ChallengesDataList === undefined ? "" :ChallengesDataList.description===null?"":
+ {ChallengesDataList === undefined ? "" :ChallengesDataList&&ChallengesDataList.description===null?"":
全部任务
- {this.props.identity < 4 && this.props.status === 0 ?
+ {this.props.identity < 4 && ChallengesDataList&&ChallengesDataList.shixun_status=== 0 ?
: ""
}
- {this.props.identity < 4 && this.props.status === 0 ?
+ {this.props.identity < 4 && ChallengesDataList&&ChallengesDataList.shixun_status=== 0 ?
this.delOperations(item.challenge_id)}
- style={{ display:this.props.user.admin===true?"block":this.props.identity < 4 && this.props.status === 0 ? "block" : 'none' }}
+ style={{ display:this.props.user.admin===true?"block":this.props.identity < 4 && ChallengesDataList.shixun_status === 0 ? "block" : 'none' }}
className="fl ring-op-green mr25">
@@ -371,7 +371,7 @@ class Challenges extends Component {
{item.up_url != undefined &&