From 6954ebf77e60a1e9d709423445b96b6d40284866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Wed, 18 Dec 2019 20:34:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/osshackathon/Osshackathon.js | 2 +- .../tpm/shixunchild/Challenges/Challenges.js | 67 +++++++++-- .../Challenges/Challengesjupyter.js | 111 ++++++++++++------ .../shixunchild/shixunchildCss/Challenges.css | 2 +- 4 files changed, 130 insertions(+), 52 deletions(-) diff --git a/public/react/src/modules/osshackathon/Osshackathon.js b/public/react/src/modules/osshackathon/Osshackathon.js index 67c81381c..6f723e660 100644 --- a/public/react/src/modules/osshackathon/Osshackathon.js +++ b/public/react/src/modules/osshackathon/Osshackathon.js @@ -261,7 +261,7 @@ class Osshackathon extends Component { } -
@@ -397,6 +433,13 @@ class Challenges extends Component { }
- {ChallengesDataList === undefined ? "" :ChallengesDataList&&ChallengesDataList.description===null?"": -
- } - + {this.state.opentitletype===true?:""} ++ {ChallengesDataList === undefined ? "" :ChallengesDataList&&ChallengesDataList.description===null?"": +
+ } + + { + booljupyterurls===true? + ( + this.state.jupyter_url === null? +加载实训失败,
this.updatamakedowns()}>重新加载
+ +