From d486fa127244c92c57cfed3f7c6e608e0aa7093f Mon Sep 17 00:00:00 2001 From: ysl <904079904@qq.com> Date: Fri, 21 Jun 2019 15:02:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/courses/graduation/tasks/GraduationTasksnew.js | 4 ++-- public/react/src/modules/login/Trialapplication.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTasksnew.js b/public/react/src/modules/courses/graduation/tasks/GraduationTasksnew.js index 79a0e77ea..ccbaa8646 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTasksnew.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTasksnew.js @@ -240,7 +240,7 @@ class GraduationTasksnew extends Component { return isLt150M; }, }; - this.ifHasAnchorJustScorll(); + // this.ifHasAnchorJustScorll(); // console.log(this.props.current_user.course_name) return ( @@ -313,7 +313,7 @@ class GraduationTasksnew extends Component { {getFieldDecorator('name', { rules: [{required: true, message: "不能为空"}], })()} diff --git a/public/react/src/modules/login/Trialapplication.js b/public/react/src/modules/login/Trialapplication.js index e0a631541..bf81c8655 100644 --- a/public/react/src/modules/login/Trialapplication.js +++ b/public/react/src/modules/login/Trialapplication.js @@ -212,8 +212,8 @@ class Trialapplication extends Component { this.setState({ isRenders: false }) - this.Cancel(); window.location.href = "/"; + this.Cancel(); } else { this.setState({ isRenders: false