|
@@ -561,6 +561,8 @@
|
|
}, 3000);
|
|
}, 3000);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ $('#countView').hide();
|
|
|
|
+ $('.countdown-wrap').hide();
|
|
$.toast('画面异常,请重新进入', 'text');
|
|
$.toast('画面异常,请重新进入', 'text');
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
clearInterval(intervaler);
|
|
clearInterval(intervaler);
|
|
@@ -611,6 +613,8 @@
|
|
if (ws.readyState === 1) {
|
|
if (ws.readyState === 1) {
|
|
ws.send('ping');
|
|
ws.send('ping');
|
|
} else {
|
|
} else {
|
|
|
|
+ $('#countView').hide();
|
|
|
|
+ $('.countdown-wrap').hide();
|
|
$.toast('画面异常,请重新进入', 'text');
|
|
$.toast('画面异常,请重新进入', 'text');
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
clearInterval(intervaler);
|
|
clearInterval(intervaler);
|
|
@@ -631,6 +635,8 @@
|
|
clearInterval(intervaler);
|
|
clearInterval(intervaler);
|
|
throttle(doConnectBusiness, 100);
|
|
throttle(doConnectBusiness, 100);
|
|
if (errorTime > 1000) {
|
|
if (errorTime > 1000) {
|
|
|
|
+ $('#countView').hide();
|
|
|
|
+ $('.countdown-wrap').hide();
|
|
$.toast('画面异常,请重新进入', 'text');
|
|
$.toast('画面异常,请重新进入', 'text');
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
wsss.close();
|
|
wsss.close();
|