Explorar el Código

fix rebase url bug

jim hace 8 años
padre
commit
31052b29ab
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/layouts/Header.js

+ 2 - 2
src/layouts/Header.js

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