Authored by 陈峰

海外登录bug

... ... @@ -109,11 +109,11 @@ $loginBtn.on('touchstart', function() {
validate.type === 2 && validate.refresh();
if (data.code === 200) {
res = result.data;
res = data.data;
showErrTip('登录成功');
// 3秒后强制跳转
setTimeout(function() {
setTimeout(() => {
location.href = res.href;
}, 1500);
... ... @@ -124,7 +124,7 @@ $loginBtn.on('touchstart', function() {
((data.changeCaptcha && validate.type !== 2) && validate.refresh());
}
showErrTip(result.message);
showErrTip(data.message);
resetForm();
}
},
... ...