fix settimeout 频率

master
luoyang 5 years ago
parent 33a17233de
commit fbfdb5f6ef

@ -14,7 +14,7 @@ $(function () {
window.redirect = redirect; window.redirect = redirect;
} }
} }
setTimeout(checkStatus, 3000); setTimeout(checkStatus, 1000);
// if (window.disable_ws) { // if (window.disable_ws) {
// //
// //
@ -49,7 +49,7 @@ $(function () {
} }
location.href = window.redirect + concat + 'time=' + status.time + '&nonce_str=' + status.nonce_str + '&sign=' + status.sign; location.href = window.redirect + concat + 'time=' + status.time + '&nonce_str=' + status.nonce_str + '&sign=' + status.sign;
} else { } else {
setTimeout(checkStatus, 3000); setTimeout(checkStatus, 1000);
} }
} }
}) })

Loading…
Cancel
Save