Vue reported a mistake and asked for help.

if vue does not report an error locally, it will report an error when uploading to the server, but the page can display the error content: GET https://localhost:8081/sockjs-node/info?t=1529992515435 0 () sockjs.js?3600:1601

Mar.21,2021

did you upload it online and report an error in the request for localhost?


localhost means that the server resource is not matched with the front end. Check what the reason is. There must be a place where the static resource path is wrong.


page can only show that your ajax request address is correct, so the data is obtained normally and this error is reported as the IP error of the site that obtained the static file.
if you are in a development environment, such as your dev server is running well, and then suddenly switch the wireless network to another environment, such an error will be reported before the hot overload can locate the new IP,. It will be no problem to restart the development server to rearrange the service address.

Menu