SpringBoot Vue 前后端分离 跨域访问

跨域方式有两种配置,一种是前端,一种是后端配置

在接口层加入 : @CrossOrigin 注解。

猜你喜欢

转载自blog.csdn.net/qq_38233650/article/details/88049256