Commit e31b6c1e by 姜雷

Merge branch 'develop' into 'test'

修改跳转进入路由后的逻辑 See merge request !129
parents 8167011d 7f0c400a
...@@ -63,8 +63,10 @@ const configRoutePermission = ( ...@@ -63,8 +63,10 @@ const configRoutePermission = (
if (whiteList.indexOf(to.path) !== -1) { if (whiteList.indexOf(to.path) !== -1) {
next(); next();
} else { } else {
next('/login'); store.dispatch('FedLogOut').then(() => {
NProgress.done(); next({ path: '/login' });
NProgress.done();
});
} }
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment