Explorar o código

!78 修复OFD解析失败问题
Merge pull request !78 from 高雄/master

kailing %!s(int64=2) %!d(string=hai) anos
pai
achega
b7ed284ae9
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))) {