Explorar o código

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

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

高雄 %!s(int64=2) %!d(string=hai) anos
pai
achega
e33db39494
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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))) {