guhongwei 3 years ago
parent
commit
ad899cd65d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/router/index.js

+ 1 - 1
src/router/index.js

@@ -102,7 +102,7 @@ const router = new VueRouter({
 router.beforeEach((to, from, next) => {
   document.title = `${to.meta.title} `;
   const token = localStorage.getItem('token');
-  if (to.path == '/apply' || to.path == '/cashing/quota' || to.path == '/service') {
+  if (to.path == '/apply' || to.path == '/cashing/quota' || to.path == '/service/unscramble') {
     if (!token) {
       next(`/login?path=${to.path}`);
     } else {