问题是跨域问题 当一个请求url的协议、域名、端口三者之间任意一个与当前页面url不同即为跨域 所以就从这三点去找 https://blog.csdn.net/qq_38128179/article/details/84956552