Forráskód Böngészése

update server/src/main/resources/static/ofd/js/cnofd-view.js.
修复OFD解析失败问题

Signed-off-by: 高雄 <admin@cxcp.com>

高雄 2 éve
szülő
commit
e33db39494
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      server/src/main/resources/static/ofd/js/cnofd-view.js

+ 1 - 0
server/src/main/resources/static/ofd/js/cnofd-view.js

@@ -107,6 +107,7 @@ if (scale && (scale == "width" || Number(scale))) {
 }
 
 var file = this.getQueryVariable("file");
+    file = decodeURIComponent(file);  
 if (file) this.loadOfdFile(file);
 
 if (scale && (scale == "width" || Number(scale))) {