update server/src/main/resources/static/ofd/js/cnofd-view.js.

修复OFD解析失败问题

Signed-off-by: 高雄 <admin@cxcp.com>
pull/78/head
高雄 2023-03-25 01:00:33 +00:00 committed by Gitee
parent f13cccf5a6
commit e33db39494
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

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