From f95311848951af1af794335b224d8f623004579b Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Mon, 25 Jul 2022 11:42:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E6=A0=BC=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../saas/AppPropagandaStatistics/calendarInfo.vue | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/project/saas/AppPropagandaStatistics/calendarInfo.vue b/src/project/saas/AppPropagandaStatistics/calendarInfo.vue index 8206e146..46f25e03 100644 --- a/src/project/saas/AppPropagandaStatistics/calendarInfo.vue +++ b/src/project/saas/AppPropagandaStatistics/calendarInfo.vue @@ -43,21 +43,16 @@ export default { components: { uniCalendar }, - onLoad() { + created() { this.getNowDay() - // if(this.month > 9) { - // this.yyyyMM = this.year + '-' + this.month - // } else { - // this.yyyyMM = this.year + '-' + '0' + this.month - // } this.getData() }, methods: { changeMonth(e) { if(e.month<=9) { - this.yyyyMM = e.year + '-' + '0' + e.month + this.yyyyMM = e.year + '0' + e.month } else if(e.month > 9) { - this.yyyyMM = e.year + '-' + e.month + this.yyyyMM = e.year + e.month } this.getData() },