Vue-cli project. An error occurred when axios requested the backend local data.

error screenshot as above, how to deal with this situation

Mar.06,2021

Cross-domain asking the backend to assign you a proxyTable header or a proxyTable under your own local proxy config/index


is purely a cross-domain problem. One more question, are you a post request? If so, add a qs.stringfy

Menu