Authored by 陈轩

注册: 验证码走过一次后端,都刷新

... ... @@ -102,7 +102,7 @@ $btnNext.on('touchstart', function() {
if (data.code === 200) {
location.href = data.data;
} else {
data.refreshCaptcha && refreshCaptcha();
refreshCaptcha();
showErrTip(data.message);
requested = false;
... ... @@ -110,6 +110,7 @@ $btnNext.on('touchstart', function() {
},
error: function() {
showErrTip('出错了,请重试');
refreshCaptcha();
requested = false;
}
});
... ...