From d81e9a78a95eb3e44940361f34847264b26cf893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Mon, 14 Mar 2022 16:07:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86=E5=8C=96=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E6=97=A5=E5=8E=86=E6=9C=88=E4=BB=BD=E5=B1=95=E7=A4=BAbug=20517?= =?UTF-8?q?28?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/localTool/standCalendar/index.vue | 24 ++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/pages/localTool/standCalendar/index.vue b/src/pages/localTool/standCalendar/index.vue index 06537d031..f28ef77e1 100644 --- a/src/pages/localTool/standCalendar/index.vue +++ b/src/pages/localTool/standCalendar/index.vue @@ -354,9 +354,9 @@ export default { let yy = new Date().getFullYear(); let mm = new Date().getMonth() + 1; let dd = new Date().getDate(); - if (mm < 10) { - mm = this.padding0(mm, 2) - } + // if (mm < 10) { + // mm = this.padding0(mm, 2) + // } if (dd < 10) { dd = this.padding0(dd, 2) } @@ -443,9 +443,9 @@ export default { let yy = new Date().getFullYear(); let mm = new Date().getMonth() + 1; let dd = new Date().getDate(); - if (mm < 10) { - mm = this.padding0(mm, 2) - } + // if (mm < 10) { + // mm = this.padding0(mm, 2) + // } this.formData.month = mm + '月' if (dd < 10) { dd = this.padding0(dd, 2) @@ -800,12 +800,12 @@ export default { let yy = new Date().getFullYear(); let mm = new Date().getMonth() + 1; let dd = new Date().getDate(); - if (mm < 10) { - mm = this.padding0(mm, 2) - } - if (dd < 10) { - dd = this.padding0(dd, 2) - } + // if (mm < 10) { + // mm = this.padding0(mm, 2) + // } + // if (dd < 10) { + // dd = this.padding0(dd, 2) + // } this.nowDate = yy + '-' + mm + '-' + dd this.formData.year = yy + '年' this.formData.month = mm + '月'