解决IE11上传预览不显示的问题

pull/358/head
hbwf 3 years ago
parent 07cc5dfa51
commit 4a53b718b1

@ -44,6 +44,13 @@
return [].concat(this.map(lambda)); return [].concat(this.map(lambda));
}; };
} }
if (!document.currentScript) {
document.currentScript = function() {
var scripts = document.getElementsByTagName('script');
return scripts[scripts.length - 1];
}();
}
var $h, FileInput, getLoadingUrl = function () { var $h, FileInput, getLoadingUrl = function () {
var src = document.currentScript.src, srcPath = src.substring(0, src.lastIndexOf("/")); var src = document.currentScript.src, srcPath = src.substring(0, src.lastIndexOf("/"));

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save