From 1a98acfc5ab5644a3ec9680de211fc79b51b8e93 Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Thu, 15 May 2025 18:18:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E6=9C=88=E4=BB=BD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/panel/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/panel/index.vue b/src/pages/panel/index.vue index 2c58fb6..cfc7a92 100644 --- a/src/pages/panel/index.vue +++ b/src/pages/panel/index.vue @@ -198,10 +198,11 @@ // 月份选择事件 handleSubmit(e) { this.optionsData = [] - console.log(e) + console.log("月份选择事件",e) this.curDateMtxt = `${e.year}年${e.month}月` - let mNum = e.month > 9 ? e.month : '0' + e.month - this.curDateM = `${e.year}-${mNum}` + // let mNum = e.month > 9 ? e.month : '0' + e.month + let mNum = e.month + this.curDateM = `${e.year}-${mNum}` console.log(mNum) this.selectNum = new Date().getTime() this.getInitData()