Commit da67cf7bbd23979c409fbec5cba90c17488a3865
Merge branch 'test' into 'qa'
Test See merge request !222
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 |