原文:前后端分離跨域問題'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