摘要: router.beforeEach((to, from, next) => { const nextRoute = [ 'login']; var token = window.localStorage.token; if(token > 0 ){ next(); }else{ // next({ 阅读全文
posted @ 2019-04-11 16:47 javahcke 阅读(175) 评论(0) 推荐(0) 编辑