|
@@ -507,7 +507,9 @@
|
|
|
} else {
|
|
|
clearInterval(intervaler);
|
|
|
$.toast('画面异常,请重新进入', 'text');
|
|
|
- quit();
|
|
|
+ setTimeout(() => {
|
|
|
+ quit();
|
|
|
+ }, 3000)
|
|
|
}
|
|
|
}, 3000);
|
|
|
|
|
@@ -524,8 +526,10 @@
|
|
|
throttle(doConnectBusiness, 100);
|
|
|
if (errorTime > 1000) {
|
|
|
$.toast('画面异常,请重新进入', 'text');
|
|
|
- wsss.close();
|
|
|
- quit();
|
|
|
+ setTimeout(() => {
|
|
|
+ wsss.close();
|
|
|
+ quit();
|
|
|
+ }, 3000)
|
|
|
}
|
|
|
});
|
|
|
ws.addEventListener('message', function (event) {
|