Browse Source

merge code

feature/big-screen
Qinghui.Liu 4 years ago
parent
commit
50224f1988
  1. 1
      designer-base/src/main/java/com/fr/design/ui/Assistant.java

1
designer-base/src/main/java/com/fr/design/ui/Assistant.java

@ -60,6 +60,7 @@ public class Assistant {
if (path.endsWith(".eot")) { if (path.endsWith(".eot")) {
return "embedded-opentype"; return "embedded-opentype";
} }
Path file = new File(path).toPath(); Path file = new File(path).toPath();
try { try {
return Files.probeContentType(file); return Files.probeContentType(file);

Loading…
Cancel
Save