The routing path in angular5 defines a URL, through parameters, but the page will not be reloaded if the component is the same!

routing is defined as the same component, but a Type is passed to distinguish different order types, but the component will only be loaded once after clicking. Clicking on the paid page will not reload, and the parameters will remain on the previous page.

{path: "order/list/:type", component: OrderListComponent,canActivate:[AuthService]},

clipboard.png

Mar.11,2021

the same route will not be triggered again. Try this:

this.router.events.subscribe((e: any) => {
   ...
})
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e481f5-44c79.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e481f5-44c79.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?