From 7b3d81ebca32bb91faeba44d2e4ba16854c8422e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 20 Dec 2019 21:22:22 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=B0=83=E6=95=B4jupyter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/javascripts/jupyter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/jupyter.js b/public/javascripts/jupyter.js index c55830c44..c79346e6d 100644 --- a/public/javascripts/jupyter.js +++ b/public/javascripts/jupyter.js @@ -16,7 +16,7 @@ function runEvery10Sec() { }); window.parent.postMessage('jupytermessage','*'); if(timebool===true){ - setTimeout( runEvery10Sec, 1000 * 10 ); + // setTimeout( runEvery10Sec, 1000 * 10 ); } } From e3d7ef3bca150f6b9a52ed9e1bcca45f97ce881e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 20 Dec 2019 21:22:41 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=B0=83=E6=95=B4jupyter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/javascripts/jupyter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/javascripts/jupyter.js b/public/javascripts/jupyter.js index c79346e6d..664fc5309 100644 --- a/public/javascripts/jupyter.js +++ b/public/javascripts/jupyter.js @@ -3,14 +3,14 @@ var timebool=false; window.onload=function(){ - console.log("开始发送消息了"); + console.log("开始发送消息了1"); timebool=true; runEvery10Sec(); } function runEvery10Sec() { // 1000 * 10 = 10 秒钟 - console.log("每隔10秒中一次"); + console.log("开始发送消息了2"); require(["base/js/namespace"],function(Jupyter) { Jupyter.notebook.save_checkpoint(); }); From 594b39d027999e732a1d3333d71743f50c022c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 20 Dec 2019 21:25:30 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js b/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js index 5ae7de9ea..6a78e6e1a 100644 --- a/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js +++ b/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js @@ -482,7 +482,7 @@ class Challengesjupyter extends Component {

this.Importingfiles()}>导入

+ className="challenbaocuntest" type="upload" >导入