2021
03-12
03-12
vue中路由传参以及跨组件传参详解
路由跳转this.$router.push('/course');this.$router.push({name:course});this.$router.go(-1);this.$router.go(1);<router-linkto="/course">课程页</router-link><router-link:to="{name:'course'}">课程页</router-link>路由传参方法一router.jsthis.$router.push('/course');this.$router.push({name:course});this.$router.go(-1);this.$router.go(1);<router-linkto="/course">课程页</router-link><router-link:to=...
继续阅读 >