摘要: 1.query方式传参和接收参数 //传参: this.$router.push({ path:'/teacher/edit', query:{ id:id } }) //接收参数: this.$route.query.id 注意:传参是this.$router,接收参数是this.$route,这 阅读全文
posted @ 2021-01-18 16:21 至安 阅读(700) 评论(0) 推荐(0) 编辑