摘要: // permission.js 在main.js的引入 就会被执行 const whiteList =['/login'] router.beforeEach(to ,from, next) => { if(checkPermission()){ if(to.path '/'&& router.o 阅读全文
posted @ 2020-04-13 17:23 不服憋着 阅读(254) 评论(0) 推荐(0) 编辑