query
this.$router.push({
path: "store_Class_Detail",
query: {
searchVal: this.searchVal ,
},
});
//接收页面mounted中:
var proID = this.$route.query.searchVal: ;
params
this.$router.push({
name:'store_Class_Detail',
params: {
id: item.id,
type: item.type,
}
})
//接收页面mounted中:
var proID = this.$route.params.searchVal: ;