Sometimes, we need to use the hyperlink instead of using href to complete the jump, but like: jumps to the address pointed to by href again, and "#" is an anchor point, which defaults to the top of the web page, so it will cause the problems mentioned above.
There are two solutions:
1. Add a return false statement to the onClick event, for example: