From acf83a69c532bdd50ada4a3bd4503ef2a8804d91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Mon, 6 Jan 2020 11:25:41 +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 --- public/react/src/AppConfig.js | 4 +- .../busyWork/reply/CommonWorkAppraiseReply.js | 2 +- public/react/src/modules/forums/MemoDetail.js | 2 +- public/react/src/modules/home/shixunsHome.js | 4 +- public/react/src/modules/tpm/jupyter/index.js | 26 ++++++++-- .../react/src/modules/tpm/jupyter/index.scss | 15 ++++-- .../Challenges/Challengesjupyter.js | 47 +++++++++++++++++-- public/react/src/redux/actions/jupyter.js | 26 +++++++--- .../react/src/redux/reducers/commonReducer.js | 6 ++- .../src/redux/reducers/jupyterReducer.js | 2 +- 10 files changed, 107 insertions(+), 27 deletions(-) diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index 87ab58f63..a18e395dd 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -40,7 +40,7 @@ if (isDev) { // 超管 // debugType="admin"; // 老师 -//ebugType="teacher"; +//debugType="teacher"; // 学生 //debugType="student"; @@ -126,7 +126,7 @@ export function initAxiosInterceptors(props) { let timestamp = Date.parse(new Date())/1000; if (window.location.port === "3007") { // let timestamp=railsgettimes(proxy); - console.log(timestamp) + // console.log(timestamp) railsgettimes(`${proxy}/api/main/first_stamp.json`); let newopens=md5(opens+timestamp) config.url = `${proxy}${url}`; diff --git a/public/react/src/modules/courses/busyWork/reply/CommonWorkAppraiseReply.js b/public/react/src/modules/courses/busyWork/reply/CommonWorkAppraiseReply.js index b67266d77..3d3f83bc6 100644 --- a/public/react/src/modules/courses/busyWork/reply/CommonWorkAppraiseReply.js +++ b/public/react/src/modules/courses/busyWork/reply/CommonWorkAppraiseReply.js @@ -297,7 +297,7 @@ class CommonWorkAppraiseReply extends Component{