|
@@ -57,7 +57,7 @@ export function addRoutes() {
|
|
routesAsynced = true
|
|
routesAsynced = true
|
|
}
|
|
}
|
|
|
|
|
|
-const whiteList = ['/login', '/dashboard', '/404', '/401', '/']
|
|
|
|
|
|
+const whiteList = ['/login', '/dashboard', '/scrollSource', '/404', '/401', '/']
|
|
|
|
|
|
router.beforeEach((to, _from, next) => {
|
|
router.beforeEach((to, _from, next) => {
|
|
if (to.meta.passRule) {
|
|
if (to.meta.passRule) {
|