yzcheng90/X-SpringBoot

报禁止跨域错误

ddddage opened this issue · 1 comments

image
image
image
image
项目能正常启动,没有改代码,但是报跨域错误,用的项目自带的nginx配置,求解答

在common.js 中的baseUrl 如果配置是localhost 那就访问localhost,如果配置的是IP,那就用IP访问,如果还不行,那就加下面的QQ群吧