From 0eec32ca8ceb6d5ddb85eb46a83fa6ca3625306f Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期一, 06 三月 2023 14:09:59 +0800 Subject: [PATCH] # --- static/js/data/Asrs.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/static/js/data/Asrs.js b/static/js/data/Asrs.js index f3f286d..217fde7 100644 --- a/static/js/data/Asrs.js +++ b/static/js/data/Asrs.js @@ -1,11 +1,15 @@ initStore(); -setInterval(function () { +let interval = setInterval(function () { queryCrnCurrent(); queryStaCurrent(); },1000); +setTimeout(() => { + clearInterval(interval) +}, 1000) + var Store3DData; function initStore() { $.ajax({ -- Gitblit v1.9.1