Commit 6e2f2e8c authored by lc0527's avatar lc0527

工控屏展示调整

parent c9539187
......@@ -171,6 +171,7 @@
<script>
let timer = null;
$(document).ready(function () {
window.addEventListener('message', function(event={}) {
......@@ -211,7 +212,8 @@
if (_data.message.jph){
clearInterval(timer);
$("#stopwatch").css("color", "white");
$("#stopwatch_s").css("color", "white");
// 定义计时器开始的时间
var startTime = new Date().getTime();
......@@ -236,7 +238,7 @@
}
// 每秒钟更新一次计时器
var timer = setInterval(updateStopwatch, 1000);
timer = setInterval(updateStopwatch, 1000);
}else {
isNull('is-null-text-5');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment