@@ -53,6 +53,10 @@ router.beforeEach((to, from, next) => {
// store.state.pathCopyshow = true
// store.state.pathCopy = to.path
}
+ if(to.query.sessionToken) {
+ console.log(to.query.sessionToken,"000")
+ Cookies.set('token', to.query.sessionToken)
+ }
// 截取路由中token进行处理
// filterToken(to, from, next)
// console.log(to)