Sfoglia il codice sorgente

添加一个白名单

lighter 1 anno fa
parent
commit
bff0412235
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/router/index.js

+ 1 - 1
src/router/index.js

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