From fe0001ad80e94bb854fc5f832821d36e5f376aa5 Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Tue, 20 Sep 2022 09:39:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/environmentalScreen/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/environmentalScreen/index.vue b/src/views/environmentalScreen/index.vue index 172f458..848607d 100644 --- a/src/views/environmentalScreen/index.vue +++ b/src/views/environmentalScreen/index.vue @@ -436,11 +436,11 @@ export default { window.addEventListener('message', this.handleMessageDevice) // 定时请求第三方数据,更新页面数据 this.dataTimer = setInterval(async() => { - await _this.getRealTimeData() - _this.handleAQI() _this.getDayYearBorrowNum() _this.handleLeftTableNum() - }, 10000) + await _this.getRealTimeData() + _this.handleAQI() + }, 1000 * 30) // 每隔一分钟刷新档案借阅和档案类型的数据 this.echartsTimer = setInterval(() => { _this.lendData = []