摘要: Vue 路由get传值1.动态传值 1.1需要在路由配置时指定参数: {component:'/home/:id'} 1.2在routerlink中指定格式:<router-link :to="'/home/'+123"></router-link> 1.3在跳转到的页面中通过this.$route 阅读全文
posted @ 2018-06-12 15:38 chester·chen 阅读(567) 评论(0) 推荐(0) 编辑