routing configuration is as follows:
const routes = [
{
name:"home",
path: "/",
component: home
},
{
name:"ssssgrid",
path: "/actionSheet",
component: actionSheet
},
];
export default new VueRouter({
mode: "history",
routes
});
this is the way to jump:
this.$router.push({
name:"ssssgrid",
param:{obj:"123"}
});
this is the receiving method
this.$route.params.obj
The page can jump successfully without reporting an error, but the value is displayed as empty