When starting the project, no error was reported, but when I jumped to the route in the page, the following error occurred in the terminal:
[vite] http proxy error
At first I thought that the computer had turned on the network proxy, but after setting it up, it still reported an error.
After researching for a long time, I found that it was the hotspot of the mobile phone that opened the firewall, restricting the permission to access other pages.
So I switched to other wifi, and the error was successfully resolved.