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