原文:前后端分离跨域问题'Access-Control-Allow-Origin' header is present on the requested resource.

vue nginx解决跨域问题遇到的坑No Access Control Allow Origin header is present on the requested resource. .在vue config文件夹下index.js设置项目启动地址 我这里设置的就是localhost: 访问项目 .在vue config文件夹下dev.env.js配置nginx地址 use strict c ...

2021-05-29 09:34 0 2950 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM