Browse Source

无JIRA 严格模式

es6
zsmj 3 years ago
parent
commit
9a78e2662c
  1. 7
      src/base/single/input/file.js

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

@ -333,11 +333,10 @@
if (isFunction(handler.onloadstart)) { if (isFunction(handler.onloadstart)) {
handler.onloadstart(rpe, {}); handler.onloadstart(rpe, {});
} }
with (document.body || document.documentElement) { var d = document.body || document.documentElement;
appendChild(iframe); d.appendChild(iframe);
appendChild(form); d.appendChild(form);
form.submit(); form.submit();
}
return handler; return handler;
}; };

Loading…
Cancel
Save