Browse Source

添加判断

master
mengao 7 years ago
parent
commit
37cf02ee85
  1. 3
      designer_base/src/com/fr/env/RemoteEnv.java

3
designer_base/src/com/fr/env/RemoteEnv.java vendored

@ -1013,7 +1013,8 @@ public class RemoteEnv extends AbstractEnv {
} }
try { try {
HashMap<String, String> para = new HashMap<String, String>(); HashMap<String, String> para = new HashMap<String, String>();
if (filePath.contains(ProjectConstants.ASSETS_NAME)) { //assets目录下的svg文件
if (filePath.contains(ProjectConstants.ASSETS_NAME) && filePath.endsWith(".svg")) {
para.put("op", "svgrelate"); para.put("op", "svgrelate");
para.put("cmd", "delete_svg"); para.put("cmd", "delete_svg");
} else { } else {

Loading…
Cancel
Save