From 23a351c266ef07663a986d1faae13b4dd88dc93e Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 4 Jan 2022 10:06:25 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20=E4=BF=AE=E6=94=B9alert=20Messag?= =?UTF-8?q?e=20=E6=98=BE=E7=A4=BA=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/alert/alertMessage.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/page/alert/alertMessage.vue b/nezha-fronted/src/components/page/alert/alertMessage.vue index ac6fdb26d..703688d02 100644 --- a/nezha-fronted/src/components/page/alert/alertMessage.vue +++ b/nezha-fronted/src/components/page/alert/alertMessage.vue @@ -730,8 +730,8 @@ export default { this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize) this.$set(this.searchLabel, 'state', this.state) if (this.searchTime && this.searchTime.length > 1) { - this.$set(this.searchLabel, 'startAt', this.timezoneToUtcTimeStr(this.searchTime[0])) - this.$set(this.searchLabel, 'endAt', this.timezoneToUtcTimeStr(this.searchTime[1])) + this.$set(this.searchLabel, 'startAt', bus.timeFormate(this.timezoneToUtcTime(bus.formateTimeToTime(this.searchTime[0])), 'YYYY-MM-DD HH:mm:ss')) + this.$set(this.searchLabel, 'endAt', bus.timeFormate(this.timezoneToUtcTime(bus.formateTimeToTime(this.searchTime[1])), 'YYYY-MM-DD HH:mm:ss')) } else { delete this.searchLabel.startAt delete this.searchLabel.endAt