From 2c55463d35a014214647accd69b7331da5ffa987 Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Tue, 14 Nov 2023 16:01:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8A=E4=BC=A0=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/ajaxfileupload.js | 60 ++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/src/utils/ajaxfileupload.js b/src/utils/ajaxfileupload.js index 4c87d0c..08ec5b3 100644 --- a/src/utils/ajaxfileupload.js +++ b/src/utils/ajaxfileupload.js @@ -4,7 +4,6 @@ jQuery.extend({ if (s.error) { s.error.call(s.context || s, xhr, status, e); } - // Fire the global callback if (s.global) { (s.context ? jQuery(s.context) : jQuery.event).trigger("ajaxError", [xhr, s, e]); @@ -13,17 +12,14 @@ jQuery.extend({ createUploadIframe: function (id, uri) { //create frame var frameId = 'jUploadFrame' + id; - if (window.ActiveXObject) { var io = document.createElement('