Browse Source

BI-62084 fix: IE9下使用bi.file上传包含特殊字符的excel出错的问题

es6
windy 4 years ago
parent
commit
7c78246f38
  1. 1
      changelog.md
  2. 6
      src/base/single/input/file.js

1
changelog.md

@ -1,5 +1,6 @@
# 更新日志
2.0(2020-03)
- 修复了IE9下使用bi.file上传包含特殊字符的excel出错的问题
- 修复了下拉类型控件不允许编辑的时候没有title的问题
- 修复了连续多次调用BI.Msg.alert后只有最后弹出的可以关闭的问题
- 修复了time_combo设置格式为%M:%S后value设置大于30分钟的值时标红的问题

6
src/base/single/input/file.js

@ -263,7 +263,11 @@
}
// attachO.fileSize = responseText.length;
attachO.filename = _global.decodeURIComponent(handler.file.fileName);
try {
attachO.filename = _global.decodeURIComponent(handler.file.fileName);
} catch (e) {
attachO.filename = handler.file.fileName;
}
if (handler.maxlength == 1) {
handler.attach_array[0] = attachO;
} else {

Loading…
Cancel
Save