diff --git a/src/views/ebiz/laurelClub/LaurelData.vue b/src/views/ebiz/laurelClub/LaurelData.vue index 14a26f5e0..34929a81a 100644 --- a/src/views/ebiz/laurelClub/LaurelData.vue +++ b/src/views/ebiz/laurelClub/LaurelData.vue @@ -512,15 +512,16 @@ export default { } }, created() { - // let date = new Date() - // let month = date.getMonth() + 1 - // if (month <= 9) { - // month = '0' + month - // } + let date = new Date() + let month = date.getMonth() + 1 + if (month <= 9) { + month = '0' + month + } //默认展示当天数据 // this.postDate = date.getFullYear() + '-' + month + '-' + date.getDate() - this.postDate = beforeDate.getLastMonth() - this.filterDate = beforeDate.getLastMonth() + this.postDate = date.getFullYear() + '-' + month + // this.postDate = beforeDate.getLastMonth() + this.filterDate = '' this.initDataPersonal() this.getBranchByUserFunc() //团队数据是否有权限 window.addEventListener('scroll', this.handleScroll)