Commit ce006eeb by 陈玉桐

test

parent 727f0be5
......@@ -11,7 +11,7 @@ Vue.config.productionTip = false
router.beforeEach((to, from, next) => {
console.log(localStorage.getItem("token"))
if(!localStorage.getItem("token")){
localStorage.setItem("token","oZXSFtw8JcLyFIdtKc6TvkJm4crA")
// localStorage.setItem("token","")
next()
// // 这个redirectUrl用 当前页路径
// let redirectUrl = window.location.href
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment