From 948b8191b8f32ce002b3f418b3669e01f745bcaa Mon Sep 17 00:00:00 2001 From: bingbo <bingbo1993@126.com> Date: 星期日, 26 十一月 2023 10:46:47 +0800 Subject: [PATCH] 环号位数 --- web/src/views/SecureManage/RiskGrad/components/TaskPunchcard.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/web/src/views/SecureManage/RiskGrad/components/TaskPunchcard.vue b/web/src/views/SecureManage/RiskGrad/components/TaskPunchcard.vue index b0063ac..28afc51 100644 --- a/web/src/views/SecureManage/RiskGrad/components/TaskPunchcard.vue +++ b/web/src/views/SecureManage/RiskGrad/components/TaskPunchcard.vue @@ -251,10 +251,9 @@ }) }, changeTime(times) { - if (times.length) { - this.queryInfo.startTime = times[0] - this.queryInfo.endTime = times[1] - } + times = times || ['', ''] + this.queryInfo.startTime = times[0] + this.queryInfo.endTime = times[1] }, pageChange() { this.getLists() -- Gitblit v1.9.3