Showing
1 changed file
with
2 additions
and
1 deletions
@@ -102,7 +102,7 @@ $btnNext.on('touchstart', function() { | @@ -102,7 +102,7 @@ $btnNext.on('touchstart', function() { | ||
102 | if (data.code === 200) { | 102 | if (data.code === 200) { |
103 | location.href = data.data; | 103 | location.href = data.data; |
104 | } else { | 104 | } else { |
105 | - data.refreshCaptcha && refreshCaptcha(); | 105 | + refreshCaptcha(); |
106 | 106 | ||
107 | showErrTip(data.message); | 107 | showErrTip(data.message); |
108 | requested = false; | 108 | requested = false; |
@@ -110,6 +110,7 @@ $btnNext.on('touchstart', function() { | @@ -110,6 +110,7 @@ $btnNext.on('touchstart', function() { | ||
110 | }, | 110 | }, |
111 | error: function() { | 111 | error: function() { |
112 | showErrTip('出错了,请重试'); | 112 | showErrTip('出错了,请重试'); |
113 | + refreshCaptcha(); | ||
113 | requested = false; | 114 | requested = false; |
114 | } | 115 | } |
115 | }); | 116 | }); |
-
Please register or login to post a comment