Compare commits

..

No commits in common. 'master' and 'master' have entirely different histories.

  1. 2
      packages/manage/router/index.vue

2
packages/manage/router/index.vue

@ -109,9 +109,7 @@ const getUser = (first?) => { @@ -109,9 +109,7 @@ const getUser = (first?) => {
Api.pub.getInfo().then((rsp) => {
first && (flag.loading = false);
if (rsp) {
if (state.user?.userId !== rsp.userId) {
commit('updateState', ['user', rsp]);
}
} else {
router.push('/login');
}

Loading…
Cancel
Save