From 7adcabdfefeebab4cedb03376b3a3eea34c7a1b7 Mon Sep 17 00:00:00 2001 From: 851590063 <102209492+851590063@users.noreply.github.com> Date: Wed, 18 May 2022 14:07:21 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=AD=A3README=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=AD=E9=94=99=E8=AF=AF=E5=8D=95=E8=AF=8D=20(#120)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 15079514767 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f835db4..7c37a72 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ https://www.ydyno.com/archives/1219.html - 感谢 [PanJiaChen](https://github.com/PanJiaChen/vue-element-admin) 大佬提供的前端模板 -- 感谢 [Moxun](https://github.com/moxun1639) 大佬提供的前端 Curd 通用组件 +- 感谢 [Moxun](https://github.com/moxun1639) 大佬提供的前端 Crud 通用组件 - 感谢 [zhy6599](https://gitee.com/zhy6599) 大佬提供的后端运维管理相关功能 From 836b65dd6accbbbfd302d7f08a3f5047138070da Mon Sep 17 00:00:00 2001 From: Zheng Jie <201507802@qq.com> Date: Mon, 23 May 2022 10:02:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[Bug=E4=BF=AE=E5=A4=8D](master):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A5=E6=9C=9F=E6=8E=A7=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复点击往前一天后出现往前两天的问题 --- src/utils/shortcuts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/shortcuts.js b/src/utils/shortcuts.js index fc4fc74..b47a4ca 100644 --- a/src/utils/shortcuts.js +++ b/src/utils/shortcuts.js @@ -47,8 +47,8 @@ export const calendarBaseShortcuts = [{ export const calendarMoveShortcuts = [{ text: '‹ 往前一天 ', onClick(picker) { - let startTime = new Date(new Date().daysAgo(1).setHours(0, 0, 0)) - let endTime = new Date(new Date().daysAgo(1).setHours(23, 59, 59)) + let startTime = new Date(new Date().setHours(0, 0, 0)) + let endTime = new Date(new Date().setHours(23, 59, 59)) if (!picker.value) { picker.value = [startTime, endTime] }