From 14ff69c1b21ea7bff835ea65132a322e17fd59ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Sat, 27 Jul 2019 16:10:57 +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 --- .../modules/courses/exercise/Testpapersettinghomepage.js | 2 +- public/react/src/modules/courses/poll/PollNew.js | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js b/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js index 31f127af1..ddb448cfc 100644 --- a/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js +++ b/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js @@ -267,7 +267,7 @@ class Testpapersettinghomepage extends Component{

{this.props.coursedata.name} > - 试卷 + 试卷 > 试卷详情

diff --git a/public/react/src/modules/courses/poll/PollNew.js b/public/react/src/modules/courses/poll/PollNew.js index e68669fc3..7f463fd7f 100644 --- a/public/react/src/modules/courses/poll/PollNew.js +++ b/public/react/src/modules/courses/poll/PollNew.js @@ -2294,7 +2294,14 @@ class PollNew extends Component { mysave: false, readOnlys: "readOnly", cancellation: false, - }) + }); + // var currenturl = window.location.href; + // var newUrl = (currenturl.split("?"))[0]; + // var newr=(newUrl.slice("new"))[0]; + // console.log(newUrl); + // console.log("2301"); + // console.log(newr); + // window.history.pushState('','',newUrl+'?tab='+e); window.location.href = `/courses/${coursesId}/polls/${result.data.data.id}/edit`; })