When my param is an object(When I jump to the details, I will bring all the parameter information from the home page),Jump details yes or no
var router = self.$router;
router.navigate({
path: '/appointmentdetail/',
query: {
param: JSON.stringify(self.list[index]),
},
});
Later, I changed to pass only one ID,Every jump is normal,There won’t be some that can jump and some that can’t:
var id = self.list[index].id;
console.log(id);
var router = self.$router;
router.navigate({
path: '/appointmentdetail/',
query: {
param: JSON.stringify({ id: id,isQuery:true}),
},
});