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() },