(相关资料图)
<router-link :to="{name:'Vuex', params: {id: '99999'}}" tag="h1">跳转</router-link><!--或者-->toNext() { this.$router.push({ name: 'Vuex', params: { id: '99999' } })
置跳转需要传递的参数params
(相关资料图)
<router-link :to="{name:'Vuex', params: {id: '99999'}}" tag="h1">跳转</router-link><!--或者-->toNext() { this.$router.push({ name: 'Vuex', params: { id: '99999' } })
置跳转需要传递的参数params