瀏覽代碼

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

kailing 2 年之前
父節點
當前提交
b7ed284ae9
共有 1 個文件被更改,包括 1 次插入0 次删除
  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))) {