标签:scribe 通过 pre rop 使用 oca log strong 组件
{ path: ‘/describe/:id‘, name: ‘Describe‘, component: Describe }
this.$router.push({ path: `/describe/${id}`, })
{ path: ‘/describe‘, name: ‘Describe‘, component: Describe }
this.$router.push({ name: ‘Describe‘, params: { id: id } })
{ path: ‘/describe‘, name: ‘Describe‘, component: Describe }
this.$router.push({ path: ‘/describe‘, query: { id: id } })
vue-router和react-router-dom路由传参对照
标签:scribe 通过 pre rop 使用 oca log strong 组件
原文地址:https://www.cnblogs.com/zhangjixiang123/p/10128074.html