From f763bdad55e102da563f71c8d53c384569bca661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Wed, 9 Oct 2019 14:46:12 +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/modules/courses/elearning/YslDetailCards.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/elearning/YslDetailCards.js b/public/react/src/modules/courses/elearning/YslDetailCards.js index d65c95390..3c6b5daff 100644 --- a/public/react/src/modules/courses/elearning/YslDetailCards.js +++ b/public/react/src/modules/courses/elearning/YslDetailCards.js @@ -94,10 +94,10 @@ class YslDetailCards extends Component{ startshixunCombattype:true, }) } else { - console.log("开始学习了"); + // console.log("开始学习了"); window.open("/tasks/" + response.data.game_identifier,'_blank'); //这个是传过来 调用刷新 - this.props.Myreload(); + this.props.getPathCardsList(); // window.location.href = path // let path="/tasks/"+response.data.game_identifier; // this.props.history.push(path); @@ -109,6 +109,7 @@ class YslDetailCards extends Component{ }; componentDidMount(){ + // console.log("YslDetailCards start"); let pathid=this.props.match.params.coursesId; this.setState({ pathid:pathid