Jelajahi Sumber

fix rebase url bug

jim 7 tahun lalu
induk
melakukan
31052b29ab
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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') {