摘要: 安装的时候只选择babel 阅读全文
posted @ 2019-06-22 16:47 进击的三三 阅读(988) 评论(0) 推荐(0) 编辑
摘要: vue路由对象($route) vue $router和$route的区别 路由传参的方式 1.可以手写完整的path: this.$router.push({path: }) 这样传递参数的话,配置路由的时候需要在path上加参数path:user/:userId。 这种接收参数的方式是this. 阅读全文
posted @ 2019-06-22 10:15 进击的三三 阅读(6923) 评论(0) 推荐(0) 编辑