windy 4 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;
try {
// decodeURIComponent特殊字符可能有问题, catch一下,保证能正常上传
attachO.filename = _global.decodeURIComponent(handler.file.fileName);
} catch (e) {
attachO.filename = handler.file.fileName;

Loading…
Cancel
Save