Axios跨域调用 预检使用OPTIONS报错
ben8804 opened this issue · comments
ben8804 commented
<dependency>
<groupId>io.jboot</groupId>
<artifactId>jboot</artifactId>
<version>2.0-rc.13</version>
</dependency>
CORSInterceptor Line50
String method = inv.getController().getRequest().getMethod();
if (METHOD_OPTIONS.equals(method)) {
inv.getController().renderText("");
return;
}
doProcessCORS(inv, enableCORS);
Michael Yang commented
什么错误呢?