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 { ) })} - +