Angular a routing overload

there are two menu routes that are / one , but the latter parameters are different, such as / one?id=1 and / one?id=2 . There is no response after clicking the first menu and then the second.
I would like to ask how to reload. The best solution is to deal with it on the a tag. this.router.events.forEach has been used before, but because our menu is dynamic, this is limited and there will be errors

after using it.
Sep.07,2021

1. Modify the routing configuration and change it to the routing parameter type, for example:

// ActivatedRoute
...
this.activatedRoute.queryParams.subscribe(param => { ... })
Menu