项目部署 · Issue #269 · zuiidea/antd

您所在的位置:网站首页 antd-admin 项目部署 · Issue #269 · zuiidea/antd

项目部署 · Issue #269 · zuiidea/antd

#项目部署 · Issue #269 · zuiidea/antd| 来源: 网络整理| 查看: 265

按照楼主说的nginx已经配置好,显示登录页,但是会报错,这怎么解决 XMLHttpRequest cannot load http://localhost:8000/api/v1/userInfo. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access. 20login:1 XMLHttpRequest cannot load http://localhost:8000/api/v1/user/login. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3