When the Angular [routerLink] parameter is changed, the view is not refreshed.

Why when the routing address is: user/1 and then connects to routerLink= "user/2", although the address bar changes, the page does not change. When interrupting, the address is user/2 ngOnInit () and will not enter.

<button (click)="fun()"></button>

fun(){
    this.router.navigate(["/user/2"]);
}
Oct.21,2021

 this.route.params.subscribe(
      params => {
        this.keyword = decodeURI(this.route.snapshot.paramMap.get('keyword'));
      });

you can write this in ngOnInit

Menu