This commit is contained in:
宋伟佳
2022-04-11 13:23:21 +08:00
parent 200360aae2
commit e08d44810c
-1
View File
@@ -62,7 +62,6 @@ import { mapMutations, mapActions } from 'vuex'
import isMobile from "./store/isMobile";
// 路由拦截
router.beforeEach(function (to, from, next) {
alert(to.name)
let toName = to.name
let token = store.state.token
let path = to.path;