From 3dc6e57bc7b6015491459babdd35c39766941313 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, 15 Nov 2019 20:22:21 +0800 Subject: [PATCH 1/2] =?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/exercise/Exercisesetting.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/react/src/modules/courses/exercise/Exercisesetting.js b/public/react/src/modules/courses/exercise/Exercisesetting.js index c7333824d..41488e1d9 100644 --- a/public/react/src/modules/courses/exercise/Exercisesetting.js +++ b/public/react/src/modules/courses/exercise/Exercisesetting.js @@ -608,6 +608,9 @@ class Exercisesetting extends Component{ }; // console.log(flagPageEdit===true?polls&&polls.exercise_status===1?3:2:1) + console.log("asdasdasda"); + console.log(this.props); + console.log(this.props.Commonheadofthetestpaper); return(
this.rulesCheckInfo(info)} - Commonheadofthetestpaper + Commonheadofthetestpaper={this.props.Commonheadofthetestpaper} > }
From 6b4e9913d34df08e85a1b2f713eff24262385b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 15 Nov 2019 20:23:34 +0800 Subject: [PATCH 2/2] =?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/tpm/SiderBar.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/tpm/SiderBar.js b/public/react/src/modules/tpm/SiderBar.js index 3960e5805..03e61bfc7 100644 --- a/public/react/src/modules/tpm/SiderBar.js +++ b/public/react/src/modules/tpm/SiderBar.js @@ -87,7 +87,12 @@ class SiderBar extends Component { render() { return ( - this.props.mygetHelmetapi&&this.props.mygetHelmetapi.main_site===true?
+ +
@@ -129,7 +134,7 @@ class SiderBar extends Component {
-
:"" +
); } }