From 6baea0650e7a1982ff32ee447200916aa00fe6a8 Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Tue, 4 Jan 2022 10:32:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=8E=86=E6=98=BE=E7=A4=BA=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/localTool/standCalendar/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/localTool/standCalendar/index.vue b/src/pages/localTool/standCalendar/index.vue index 738fc2820..06537d031 100644 --- a/src/pages/localTool/standCalendar/index.vue +++ b/src/pages/localTool/standCalendar/index.vue @@ -505,6 +505,8 @@ export default { } this.lastYear = selYear this.lastMonth = selMonth + // 获取日历变化的日期并显示 + this.value = new Date(this.value.setDate(1)) this.value = new Date(this.value.setMonth(this.value.getMonth() - monthNum)) this.value = new Date(this.value.setFullYear(this.value.getFullYear() - yearNum)) },