Vue解决跨域问错误:has been blocked by CORS policy 后端跨域配置
解决跨域问题后端跨域配置代码:/***@作者hua*@描述跨域配置*/@ConfigurationpublicclassWebConfigurationimplementsWebMvcConfigurer{/***跨域配置对象*@returnCorsConfiguration对象*/privateCorsConfigurationcorsConfig(){CorsConfigurationcors