摘要:
router.beforeEach((to, from, next) => { if (to.matched.some(record => record.meta.requireAuth)){ // 判断该路由是否需要登录权限 if (token) { // 判断当前的token是否存在 next( 阅读全文
posted @ 2019-08-21 16:58
Seven077
阅读(1533)
评论(0)
推荐(0)
浙公网安备 33010602011771号