diff --git a/public/react/src/App.js b/public/react/src/App.js index dbd8e2c4c..dfb8c89d0 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -274,7 +274,7 @@ class App extends Component { {/**/} {/*认证*/} - + {/*403*/} diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index 6890eeb74..3e2219b40 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -754,7 +754,7 @@ submittojoinclass=(value)=>{
  • 我的实训
  • 我的实践课程
  • 我的项目
  • -
  • 账号管理
  • +
  • 账号管理
  • {/*
  • this.educoderlogin()} >登入测试接口
  • */} {/*
  • this.trialapplications()} >试用申请
  • */} {/*
  • 兴趣页
  • */} diff --git a/public/react/src/modules/user/AccountPage.js b/public/react/src/modules/user/AccountPage.js index 87a5b3a9e..c8c8f5fed 100644 --- a/public/react/src/modules/user/AccountPage.js +++ b/public/react/src/modules/user/AccountPage.js @@ -55,7 +55,7 @@ class AccountPage extends Component { axios.get(url).then((result)=>{ if(result.data){ if(result.data && result.data.base_info_completed == false){ - this.props.history.push(`/profile/basic/edit`); + this.props.history.push(`/account/profile/edit`); } this.setState({ basicInfo: Object.assign({}, {...result.data}, { avatar_url: `${result.data.avatar_url}?t=${new Date().getTime()}`}) @@ -79,30 +79,30 @@ class AccountPage extends Component {
    - () } > - () } > - () } > - () } > - () } diff --git a/public/react/src/modules/user/account/AccountBasic.js b/public/react/src/modules/user/account/AccountBasic.js index 7eaecc625..60df5e105 100644 --- a/public/react/src/modules/user/account/AccountBasic.js +++ b/public/react/src/modules/user/account/AccountBasic.js @@ -54,7 +54,7 @@ class AccountBasicEdit extends Component {
    基本信息
    + ghost onClick={() => this.props.history.push('/account/profile/edit')}>修改
    diff --git a/public/react/src/modules/user/account/AccountNav.js b/public/react/src/modules/user/account/AccountNav.js index 9aa29b699..cf6d4ca06 100644 --- a/public/react/src/modules/user/account/AccountNav.js +++ b/public/react/src/modules/user/account/AccountNav.js @@ -4,19 +4,19 @@ import { SnackbarHOC, getImageUrl } from 'educoder'; import AccountImg from './AccountImg' class AccountNav extends Component { toBasic = () => { - this.props.history.push(`/profile/basic`) + this.props.history.push(`/account/profile`) } toCertification = () => { - this.props.history.push(`/profile/certification`) + this.props.history.push(`/account/certification`) } toSecure = () => { - this.props.history.push(`/profile/secure`) + this.props.history.push(`/account/secure`) } render() { let { basicInfo } = this.props console.log(this.props); const path = window.location.pathname - const isBasic = path.indexOf('basic') != -1 || path == "/profile" + const isBasic = path.indexOf('basic') != -1 || path == "/account" const isCertification = path.indexOf('certification') != -1 const isSecure = path.indexOf('secure') != -1 return (