摘要: 路由传参的几种方式 比如:<div v-for="item in items" @click="get(item.id)"> 传参方式1: 1) get:function(id){ this.$router.push({ path: `/describe/${id}`}) } 2) 相应路由配置: 阅读全文
posted @ 2018-12-11 18:04 Duan? 阅读(1384) 评论(0) 推荐(0) 编辑