From 669d247799777562f6ddeb1bae00ac08ff7c20e7 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, 24 Jul 2019 15:40:18 +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/user/Interestpage.js | 6 +++--- public/react/src/modules/user/InterestpageMax.js | 13 +++++++------ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/public/react/src/modules/user/Interestpage.js b/public/react/src/modules/user/Interestpage.js index b3abfe1a4..4642707b2 100644 --- a/public/react/src/modules/user/Interestpage.js +++ b/public/react/src/modules/user/Interestpage.js @@ -188,11 +188,11 @@ class InterestpageComponent extends Component { if (response !== undefined) { // this.Jumptotheinterestpage(); // window.location.href = "/" - if(response.data.message!==undefined){ + if(response.data.status===0){ - return; + this.setMyEduCoderModals() } - this.setMyEduCoderModals() + } diff --git a/public/react/src/modules/user/InterestpageMax.js b/public/react/src/modules/user/InterestpageMax.js index a53c1bbe0..fb3f1544c 100644 --- a/public/react/src/modules/user/InterestpageMax.js +++ b/public/react/src/modules/user/InterestpageMax.js @@ -166,6 +166,10 @@ class InterestpageMax extends Component { //兴趣页面点击 Interestcompletionpage(){ + + this.setState({ + setpagecomplet:true + }) if(this.state.gouxuans.length === 0){ this.openNotification("请选择您的职业"); return @@ -189,12 +193,9 @@ class InterestpageMax extends Component { if (response !== undefined) { // this.Jumptotheinterestpage(); // window.location.href = "/" - - if(response.data.message!==undefined){ - - return; + if(response.data.status===0){ + this.setMyEduCoderModals() } - this.setMyEduCoderModals() } @@ -285,7 +286,7 @@ class InterestpageMax extends Component { ) })} - +