list has 3 pages. Enter for details and return to the first page.
wants to click on the address bar record on the second page so that it returns directly to the list on the second page.
currently the menu is returned from the backend and the number of pages cannot be included in the route.
look at the picture, product_list here is his path, route file configuration, if you add : page
will result in 404. Can you bring the default value to : id
?
{
path: "/product/product_list/",
name: "product_list",
component: product_list,
props: true,
},
has also tried to use the following words when turning pages
this.$router.push({
name: "product_lise",
path: `/product/product_lise`,
params: {
page: pageNum,
}
});
No change in the address bar after trigger