|
@@ -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 {
|