this.$router.push({
path: '/moreCard',
query: {typeId: id}
})
取值:this.$route.query.typeId
this.$router.push({
path: '/moreCard',
query: {typeId: id}
})
取值:this.$route.query.typeId
一.Vue文件內容 <template> </template> <script> </script> <style> </style>