소스 검색

fix rebase url bug

jim 8 년 전
부모
커밋
31052b29ab
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/layouts/Header.js

+ 2 - 2
src/layouts/Header.js

@@ -43,7 +43,7 @@ class HeaderView extends PureComponent {
   };
   };
   handleMenuClick = ({ key }) => {
   handleMenuClick = ({ key }) => {
     if (key === 'userCenter') {
     if (key === 'userCenter') {
-      this.props.dispatch(routerRedux.push('/user-profile/user-center'));
+      this.props.dispatch(routerRedux.push('/account/center'));
       return;
       return;
     }
     }
     if (key === 'triggerError') {
     if (key === 'triggerError') {
@@ -51,7 +51,7 @@ class HeaderView extends PureComponent {
       return;
       return;
     }
     }
     if (key === 'userinfo') {
     if (key === 'userinfo') {
-      this.props.dispatch(routerRedux.push('/user-profile/userinfo/base'));
+      this.props.dispatch(routerRedux.push('/account/settings/base'));
       return;
       return;
     }
     }
     if (key === 'logout') {
     if (key === 'logout') {