...
|
...
|
@@ -251,6 +251,15 @@ function sendMessageValidate() { |
|
|
verifyCode: captcha2.getResults()
|
|
|
}
|
|
|
}).then(function(data) {
|
|
|
if (data.data && data.data.needCaptcha) {
|
|
|
showCaptchaImg();
|
|
|
}
|
|
|
|
|
|
if (data.code === captcha2.errorCode) {
|
|
|
captcha2.showTip(data.message);
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (data.code !== 200) {
|
|
|
alert(data.message); // eslint-disable-line
|
|
|
} else {
|
...
|
...
|
@@ -354,7 +363,7 @@ function nextStep() { |
|
|
success: function(data) {
|
|
|
var winHeight = $(window).height();
|
|
|
|
|
|
if (data.code !== 200 && data.data && data.data.needCaptcha) {
|
|
|
if (data.data && data.data.needCaptcha) {
|
|
|
showCaptchaImg();
|
|
|
}
|
|
|
|
...
|
...
|
|