提交 5e3a9013 编写于 作者: Dcpnet's avatar Dcpnet 🇨🇳

Update SpringMvcConfig.java

上级 8b06edb2
......@@ -31,6 +31,10 @@ public class SpringMvcConfig implements WebMvcConfigurer {
return resolver;
}
/**
* 放行静态资源
* @param configurer 配置
*/
@Override
public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
configurer.enable();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册