js跨域问题

跨域如何解决?

前端用jsonp解决。

后端设置http header 解决

后端解决方法:

前端解决方法:

留坑,有空写

原文地址:https://www.cnblogs.com/coder-lzh/p/9194579.html