One way to pass parameters router
Home wording
this.$router.push({
path: "Vice Page Path"
query: {
id:""
}
});
Vice-page acquisition mode
this.$route.query.id
Case study provided vue code has been submitted to Git: git address
Note: This example is a mobile-side code, the browser preview of F12 Please select Phone mode