After checking the code, I found that location is used in the jump link, but if the link generated by A is used directly, a new page will not pop up when clicking to jump.
Solution:
Use JS script to simulate clicking on a link like A without using location. Try it: