|
@@ -7,7 +7,8 @@ import { getToken } from '@/utils/auth'
|
|
|
|
|
|
NProgress.configure({ showSpinner: false })
|
|
|
|
|
|
-const whiteList = ['/login', '/register', '/wxLogin', '/userLogin', '/authorizeLogin', '/auth-redirect', '/bind']
|
|
|
+const whiteList = ['/login', '/register', '/wxLogin', '/userLogin', '/authorizeLogin', '/auth-redirect', '/bind', '/auth']
|
|
|
+
|
|
|
|
|
|
router.beforeEach((to, from, next) => {
|
|
|
NProgress.start()
|