解决Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight 跨域问题
摘要:
跨域错误用axios.post发送请求的时候出现以下错误 错误原因 Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight 解决方法方法一: 设置Content-Typ 阅读全文
posted @ 2019-10-22 14:36
一粒叶子
阅读(2455)
评论(0)
推荐(0)

浙公网安备 33010602011771号