摘要: 1、前端设置了: withCredentials: true 场景是在导出文件的地方,设置这个参数会导致后端的跨域不能设置通配符,必须指定域名 这个会导致跨域报错(前端报错) 2、后端必须同步开启 corsConfiguration.setAllowCredentials(true); 没设置这个会 阅读全文
posted @ 2021-03-11 11:11 gabin 阅读(1175) 评论(0) 推荐(0) 编辑