Request header field attachmentdata is not allowed by Access-Control-Allow-Headers in preflight resp

该问题原因是跨域了

解决方法:统一域名,不要混着用

猜你喜欢

转载自blog.csdn.net/m0_37679452/article/details/79279702