The real situation is that, for example, I jump to the next playdetails page after the playdetails page autoplays. To return to the list page, replace of the router is used.

We use this.$router. Push most often. Replace is the same as push. Wear parameters are the same.

 this.$router.replace({
    name:'detail',
    params:{
        id:nextItem.aid
    }
});
Copy the code