摘要: 前端访问Flask的接口,浏览器报错:has been blocked by CORS policy: No 'Access-Control-Allow-Origin' heade 需要将Flask的api接口允许跨域访问,返回的response中,设置headers['Access-Control 阅读全文
posted @ 2020-02-07 11:01 sunshine_5 阅读(2780) 评论(0) 推荐(0) 编辑