Vue-router cannot receive using params to pass parameters

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

Jan.08,2022

param-> params pass parameter is misspelled.


this.$router.push ({

)
name:'ssssgrid',
params:{obj:'123'}

});


the word is misspelled params

Menu