@@ -67,7 +67,8 @@ router.beforeEach((to, from, next) => {
if (whiteList.indexOf(to.path) !== -1) {
next()
} else {
- next({ path: '/user/login', query: { redirect: to.fullPath } })
+ next({ path: '/user/login'})
+ // next({ path: '/user/login', query: { redirect: to.fullPath } })
NProgress.done() // if current page is login will not trigger afterEach hook, so manually handle it
}