2018年12月21日

vue之this.$route.params和this.$route.query的区别

摘要: 1.this.$route.query的使用 A、传参数: this.$router.push({ path: '/monitor', query:{ id:id, } }) B、获取参数: this.$route.query.id C、在url中形式(url中带参数) http://172.19. 阅读全文

posted @ 2018-12-21 17:01 平平淡淡summer 阅读(31490) 评论(0) 推荐(2) 编辑

导航