Request successful failed to load response data

ajax initiates a POST request, and the request is successful. Response shows that faile to load response data
https://stackoverflow.com/que. can solve the problem.
if you disable preserve log, to disable page refresh, you can see the returned data

.

I don"t know what this wave of operations works.
the key is why I can access the same operation of my colleagues, but not another machine. Does this have anything to do with configuration?

Web method:
make it clear that the cache does not use
contentType: "application/json; charset=utf-8", close this code, do not use

Mar.05,2021

is cross-domain. Is your colleague's computer the ip of the server


is there a better solution to the same problem?

check the Preserve Log option so that when you jump to the page, you can view the request and response data requested by the previous page, and then leave it unchecked, which will not meet my needs. In addition to the window.onunload method mentioned in StackOver above, is there any other more elegant solution


the new version of chrome does not seem to support unload, to use beforeunload
image.png


found that FireFox can be viewed normally

Menu