From fdb22c3ebe2e3a5dbafc252977b7621c4ab39dbc Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期三, 06 九月 2023 10:08:28 +0800 Subject: [PATCH] # --- src/main/webapp/views/console.html | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html index 74bdbab..d2102cf 100644 --- a/src/main/webapp/views/console.html +++ b/src/main/webapp/views/console.html @@ -354,7 +354,6 @@ this.consoleInterval = setInterval(() => { this.getShuttleStateInfo() //鑾峰彇鍥涘悜绌挎杞︿俊鎭� this.getLiftStateInfo() //鑾峰彇鎻愬崌鏈轰俊鎭� - console.log('interval') }, 1000) }, //鑾峰彇鍦板浘鏁版嵁 @@ -489,10 +488,12 @@ $('#system-toggle-checked').attr("checked", true); $('#system-run-desc').html("绯荤粺杩愯涓�..."); that.systemStatus = true; + parent.systemRunning = true; } else { $('#system-toggle-checked').attr("checked", false); $('#system-run-desc').html("绯荤粺宸插仠姝�!"); that.systemStatus = false; + parent.systemRunning = false; } } else if (res.code === 403) { parent.location.href = baseUrl + "/login"; @@ -520,10 +521,12 @@ $('#system-toggle-checked').attr("checked", true); $('#system-run-desc').html("绯荤粺杩愯涓�..."); that.systemStatus = true; + parent.systemRunning = true; } else { $('#system-toggle-checked').attr("checked", false); $('#system-run-desc').html("绯荤粺宸插仠姝�!"); that.systemStatus = false; + parent.systemRunning = false; } } else if (res.code === 403) { parent.location.href = baseUrl + "/login"; -- Gitblit v1.9.1