前端url是http://localhost:3333/index.html#/detail这样的格式访问后端,报跨域错误No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3333' is therefore not allowed access.请问后端如何设置config.default.js里设置白名单:http://localhost:3333/index.html#/detail仍然无效。百思不得姐,求教高手!
添加回答
举报
0/150
提交
取消