From 1ac93fd7a4e253023fdef8ae0318bc281af0ccbf Mon Sep 17 00:00:00 2001 From: zhangyu Date: Mon, 11 Jul 2022 15:57:16 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2018=20=20=20=20fix=EF=BC=9A=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E6=97=B6=E9=97=B4=E6=8E=A7=E4=BB=B6=E6=97=B6=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=9C=80=E8=BF=91=E4=BD=BF=E7=94=A8=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=87=BA=E9=94=99=EF=BC=8C=E5=86=8D=E6=AC=A1=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E6=97=A5=E6=9C=9F=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/timePicker.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/timePicker.vue b/nezha-fronted/src/components/common/timePicker.vue index 2ec45e0bd..8c49ef9ca 100644 --- a/nezha-fronted/src/components/common/timePicker.vue +++ b/nezha-fronted/src/components/common/timePicker.vue @@ -313,8 +313,8 @@ export default { } }, historyChange (item) { - this.searchTime[0] = item.start - this.searchTime[1] = item.end + this.oldSearchTime[0] = this.momentTz(item.start) + this.oldSearchTime[1] = this.momentTz(item.end) this.isCustom = true this.showDropdown() this.$emit('change', this.searchTime)