Browse Source

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

kailing 2 years ago
parent
commit
b7ed284ae9
1 changed files with 1 additions and 0 deletions
  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))) {