commit
This commit is contained in:
@@ -62,7 +62,6 @@ import { mapMutations, mapActions } from 'vuex'
|
|||||||
import isMobile from "./store/isMobile";
|
import isMobile from "./store/isMobile";
|
||||||
// 路由拦截
|
// 路由拦截
|
||||||
router.beforeEach(function (to, from, next) {
|
router.beforeEach(function (to, from, next) {
|
||||||
alert(to.name)
|
|
||||||
let toName = to.name
|
let toName = to.name
|
||||||
let token = store.state.token
|
let token = store.state.token
|
||||||
let path = to.path;
|
let path = to.path;
|
||||||
|
|||||||
Reference in New Issue
Block a user