人脸识别
小神永远不刀 发布于2019-03 浏览:4276 回复:4
0
收藏
快速回复

 

这种跨域问题怎么解决

收藏
点赞
0
个赞
共4条回复 最后由ghjgfghghg回复于2022-12
#5186******70回复于2021-04

这个node.js可以前端设置代理,如果同时请求后台的话,配置多个代理.但是线上的话还是要后台处理一下.

0
#4bingzi0303回复于2019-03

这个问题这么普遍 为啥没人解决一下

0
#3小神永远不刀回复于2019-03

Access to fetch at 'https://aip.baidubce.com/oauth/2.0/token' from origin 'http://127.0.0.1:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.  这种怎么解决,NODE.JS的

0
#2小神永远不刀回复于2019-03

Access-Control-Allow-Origin' 调用创建对象报 跨域问题。VUE里面

0
TOP
切换版块