From 0668e0a8e2b3788de958c49639b77ad3c62cc473 Mon Sep 17 00:00:00 2001 From: qianming Date: Wed, 10 May 2023 09:59:14 +0800 Subject: [PATCH] =?UTF-8?q?update--=E5=BD=93=E5=A4=A9=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E7=AA=97=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bigscreenDesigner/designer/widget/form/widgetFormTime.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/form/widgetFormTime.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/form/widgetFormTime.vue index 039b5b06..6a8e838c 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/form/widgetFormTime.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/form/widgetFormTime.vue @@ -41,8 +41,8 @@ export default { shortcuts: [{ text: '今天', onClick(picker) { - const end = new Date(); const start = new Date(new Date(new Date().getTime()).setHours(0, 0, 0, 0)); + const end = new Date(new Date(new Date().getTime()).setHours(23, 59, 59, 999));; picker.$emit('pick', [start, end]); } },{