vue 路由传参 ( 编程式导航 )
vue 路由传参 ( 编程式导航 )方法一 :传参 :this.$router.push({ path: '路由', query: { key: value }})取参 :this.$route.query.key方法二 :传参 :this.$router.push({ name: '路由', // path: '路由', 这样写也行 params: { key: value }})取参 :this.$route.params.key...
原创
2020-07-17 18:05:37 ·
761 阅读 ·
0 评论