摘要: 跨域错误用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 一粒叶子 阅读(2449) 评论(0) 推荐(0)