ng-switch corresponds to different interfaces based on different values, and then changes the interface by changing different values, and sets the routing at the same time, and then I change the value through a click event. Then when the value changed, the routing also changed, but the interface did not change. I clicked the button a second time to jump to that interface. I don’t know what happened. Is this a bug of ng-switch? Then the value did change, because I console.log it directly. Ask God to provide ideas. Do I need to refresh the interface when changing the value? So what are the methods to refresh the interface?