src/router/index.js
@@ -2,7 +2,7 @@ * @Author: 小明丶 * @Date: 2019-08-19 15:23:17 * @LastEditors: zxq * @LastEditTime: 2022-08-09 15:12:13 * @LastEditTime: 2022-11-10 10:01:08 * @Description: */ import Vue from "vue"; @@ -25,7 +25,6 @@ // 全局前置守卫:页面跳转前拦截 router.beforeEach((to, from, next) => { if(to.meta.isLogin){ next() }else{ // 需要登录的页面