From 2ed45581ccd70aa05ecc81f0050ee755c5550023 Mon Sep 17 00:00:00 2001 From: chenyj Date: Fri, 20 May 2016 15:14:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=AD=A3=E5=9C=A8=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E7=AC=AC=E4=B8=80=E4=B8=AA=E6=96=87=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=8F=AF=E4=BB=A5=E7=BB=A7=E7=BB=AD=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E7=AC=AC=E4=BA=8C=E4=B8=AA=E6=96=87=E4=BB=B6=E7=9A=84bug?= =?UTF-8?q?=EF=BC=8C=E5=9B=A0=E4=B8=BA=E4=B8=8A=E4=BC=A0=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E6=96=87=E4=BB=B6=E6=97=B6curUploadIndex=E7=9A=84?= =?UTF-8?q?=E5=80=BC=E4=B8=BA0=EF=BC=8C=E4=BD=860=20!=3D=20''=E7=9A=84?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E4=B8=BAfalse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1.5.4/index.js | 2 +- 2.0.3/index.js | 2 +- 3.0.2/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/1.5.4/index.js b/1.5.4/index.js index daff4077..c123e229 100644 --- a/1.5.4/index.js +++ b/1.5.4/index.js @@ -172,7 +172,7 @@ KISSY.add(function (S, Node, RichBase,JSON,UA,IframeType, AjaxType, FlashType, H return false; } //如果有文件正在上传,予以阻止上传 - if (self.get('curUploadIndex') != EMPTY) { + if (self.get('curUploadIndex') != EMPTY || self.get('curUploadIndex') === 0) { alert('第' + self.get('curUploadIndex') + '文件正在上传,请上传完后再操作!'); return false; } diff --git a/2.0.3/index.js b/2.0.3/index.js index f1c9177d..5358c0d2 100755 --- a/2.0.3/index.js +++ b/2.0.3/index.js @@ -172,7 +172,7 @@ KISSY.add(function (S, Node, RichBase,JSON,UA,IframeType, AjaxType, FlashType, H return false; } //如果有文件正在上传,予以阻止上传 - if (self.get('curUploadIndex') != EMPTY) { + if (self.get('curUploadIndex') != EMPTY || self.get('curUploadIndex') === 0) { alert('第' + self.get('curUploadIndex') + '文件正在上传,请上传完后再操作!'); return false; } diff --git a/3.0.2/index.js b/3.0.2/index.js index 185ecd84..79a36d72 100755 --- a/3.0.2/index.js +++ b/3.0.2/index.js @@ -172,7 +172,7 @@ KISSY.add(function (S, Node, RichBase,JSON,UA,IframeType, AjaxType, FlashType, H return false; } //如果有文件正在上传,予以阻止上传 - if (self.get('curUploadIndex') != EMPTY) { + if (self.get('curUploadIndex') != EMPTY || self.get('curUploadIndex') === 0) { alert('第' + self.get('curUploadIndex') + '文件正在上传,请上传完后再操作!'); return false; }