React+ SpringBoot 跨域问题

1.新建CORSConfiguration.java 文件 2.编写代码 package com.vuvivian.jianshu; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.CorsRegistry;
相关文章
相关标签/搜索