framework/src/main/java/com/yuanchu/limslaboratory/config/WebMvcConfig.java
@@ -19,7 +19,6 @@ registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/"); //设置文件虚拟路径映射 registry.addResourceHandler("/img/**").addResourceLocations("file:"+filePath+"/") .addResourceLocations("file:"+filePath+"/"); registry.addResourceHandler("/img/**").addResourceLocations("file:"+filePath+"/"); } }