windy 5 years ago
parent
commit
af698e59fc
  1. 1
      src/base/single/input/file.js

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

@ -264,6 +264,7 @@
// attachO.fileSize = responseText.length; // attachO.fileSize = responseText.length;
try { try {
// decodeURIComponent特殊字符可能有问题, catch一下,保证能正常上传
attachO.filename = _global.decodeURIComponent(handler.file.fileName); attachO.filename = _global.decodeURIComponent(handler.file.fileName);
} catch (e) { } catch (e) {
attachO.filename = handler.file.fileName; attachO.filename = handler.file.fileName;

Loading…
Cancel
Save