摘要: 1 router.beforeEach((to, from, next) => { 2 // alert(sessionStorage.getItem('accessToken')) 3 // console.log(to); 4 if ((to.path!='/login')&&(!sessionStorage.getItem('accessToken')... 阅读全文
posted @ 2017-03-27 21:14 黄鹂 阅读(3220) 评论(0) 推荐(0) 编辑