From a8cf4cbfa94556d8374dee6984ece7d3045f5fd7 Mon Sep 17 00:00:00 2001 From: WeiKe <237121087@qq.com> Date: Thu, 20 Oct 2016 16:07:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0JS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 测试GIT 的使用,请忽略。 --- ajax.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ajax.js b/ajax.js index 1aa10fbb..508d30c6 100644 --- a/ajax.js +++ b/ajax.js @@ -1,5 +1,5 @@ //========================================= -// 数据交互模块 +// 数据交互模块 测试提交 //========================================== //var reg = /^[^\u4E00-\u9FA5]*$/; define("ajax", this.FormData ? ["flow"] : ["ajax_fix"], function($) { @@ -519,6 +519,9 @@ define("ajax", this.FormData ? ["flow"] : ["ajax_fix"], function($) { } } } + if(this.status==2){ + this.status=5; + } this.status = status; this.statusText = statusText; if (this.timeoutID) { @@ -550,4 +553,4 @@ define("ajax", this.FormData ? ["flow"] : ["ajax_fix"], function($) { 2012.3.31 v2 大重构,支持XMLHttpRequest Level2 2013.4.8 v3 大重构 支持二进制上传与下载 http://www.cnblogs.com/heyuquan/archive/2013/05/13/3076465.html - */ \ No newline at end of file + */ From e4af650b633081f9530ec2da8a914238c070d932 Mon Sep 17 00:00:00 2001 From: WeiKe <237121087@qq.com> Date: Thu, 20 Oct 2016 16:14:54 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 测试提交 --- ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajax.js b/ajax.js index 508d30c6..cfee8133 100644 --- a/ajax.js +++ b/ajax.js @@ -1,5 +1,5 @@ //========================================= -// 数据交互模块 测试提交 +// 数据交互模块 JS测试提交 //========================================== //var reg = /^[^\u4E00-\u9FA5]*$/; define("ajax", this.FormData ? ["flow"] : ["ajax_fix"], function($) {