Browse Source

fix rebase url bug

jim 8 years ago
parent
commit
31052b29ab
1 changed files with 2 additions and 2 deletions
  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') {