摘要: 在vue2.0里页面参数是 this.$route.query或者 this.$route.params 接收router-link传的参数。 在路由跳转的时候除了用router-link标签以外需要在script标签在事件里面跳转,所以有个方法就是在script标签里面写this.$router. 阅读全文
posted @ 2019-02-07 19:36 青春不迷也不彩 阅读(263) 评论(0) 推荐(0) 编辑