Commit b66e52d4c75c8f68438e3bf142036957468cd467
Merge branch 'qa' into 'master'
Qa See merge request !223
Showing
1 changed file
with
1 additions
and
1 deletions
utils/request.js
@@ -209,7 +209,7 @@ module.exports = { | @@ -209,7 +209,7 @@ module.exports = { | ||
209 | time_limit_get(time,url,data){ | 209 | time_limit_get(time,url,data){ |
210 | var req=this.get(url,data); | 210 | var req=this.get(url,data); |
211 | setTimeout(function () { | 211 | setTimeout(function () { |
212 | - req.abort(); | 212 | + if(req) req.abort(); |
213 | },time*1000) | 213 | },time*1000) |
214 | } | 214 | } |
215 | 215 |