From b95a2b979683a0ff9b49e7909a40c5a59e340f0c Mon Sep 17 00:00:00 2001 From: alwayssuper <191763414@qq.com> Date: Thu, 27 Feb 2025 10:44:13 +0800 Subject: [PATCH] feat: home 1 --- src/views/iot/home/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/iot/home/index.vue b/src/views/iot/home/index.vue index 991b4735..f9247293 100644 --- a/src/views/iot/home/index.vue +++ b/src/views/iot/home/index.vue @@ -120,7 +120,7 @@
上下行消息量统计
- + 最近1小时 最近24小时 近一周 @@ -128,7 +128,7 @@ (null) const queryParams = reactive({ - startTime: undefined as number | undefined, - endTime: undefined as number | undefined + startTime: Date.now() - 7 * 24 * 60 * 60 * 1000, // 设置默认开始时间为7天前 + endTime: Date.now() // 设置默认结束时间为当前时间 }) echarts.use([