From 3a95f79805a490d23d969faedb376bcc9ac14fb5 Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期三, 22 十一月 2023 14:22:33 +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