diff --git a/public/react/src/modules/tpm/TPMBanner.js b/public/react/src/modules/tpm/TPMBanner.js index 1a16e43d6..44aa1ecb8 100644 --- a/public/react/src/modules/tpm/TPMBanner.js +++ b/public/react/src/modules/tpm/TPMBanner.js @@ -268,7 +268,7 @@ class TPMBanner extends Component { }) // window.location.href = response.data.url; // response.data.course_id - this.props.history.replace("/courses"); + this.props.history.replace(response.data.first_category_url); }).catch((error) => { console.log(error) diff --git a/public/react/src/modules/tpm/shixunchild/Challenges/Challenges.js b/public/react/src/modules/tpm/shixunchild/Challenges/Challenges.js index c956736a0..8db18278d 100644 --- a/public/react/src/modules/tpm/shixunchild/Challenges/Challenges.js +++ b/public/react/src/modules/tpm/shixunchild/Challenges/Challenges.js @@ -327,7 +327,7 @@ class Challenges extends Component {
+
+ +
+ {this.props.identity < 5 && ChallengesDataList&&ChallengesDataList.shixun_status=== 0 ?
+
+
@@ -353,31 +380,31 @@ class Challenges extends Component {
全部任务
- {this.props.identity < 5 && ChallengesDataList&&ChallengesDataList.shixun_status=== 0 ?
-
-