|
@@ -3,10 +3,7 @@ function handleQuit() {
|
|
|
actions: [{
|
|
|
text: "退出",
|
|
|
onClick: function () {
|
|
|
- clearInterval(intervaler);
|
|
|
quit();
|
|
|
- ws.close();
|
|
|
- wsss.close();
|
|
|
}
|
|
|
}, {
|
|
|
text: "退出并下机",
|
|
@@ -20,10 +17,7 @@ function handleQuit() {
|
|
|
dataType: 'json',
|
|
|
function(res) {
|
|
|
if (res.status === 0) {
|
|
|
- clearInterval(intervaler);
|
|
|
quit();
|
|
|
- ws.close();
|
|
|
- wsss.close();
|
|
|
} else {
|
|
|
$.toast(res.msg, 'text');
|
|
|
}
|