摘要: 直接在路由中设置即可,首先要引入Error页面 {path:"*",component:Error} 阅读全文
posted @ 2019-11-30 15:53 lipu1993 阅读(67) 评论(0) 推荐(0)
摘要: 路由守卫可以在路由跳转处进行检查,未达到要求不予跳转 const router = new Router({ {path:'/',name:'test1',component:test1}, {path:'/home',name:'home',component:home}, {path:'/log 阅读全文
posted @ 2019-11-30 15:27 lipu1993 阅读(137) 评论(0) 推荐(0)
摘要: shift+Alt+向下箭头 阅读全文
posted @ 2019-11-30 10:31 lipu1993 阅读(2802) 评论(0) 推荐(0)