spring
2025-02-15 23994eb72ac0475cac571646a09435ec21516017
src/components/view/b4-site-hours-statistics.vue
@@ -293,11 +293,11 @@
    },
    changeTime(){
      const year = new Date(this.month).getFullYear();
      const month = new Date(this.month).getMonth();
      const month = new Date(this.month).getMonth()+1;
      const day = new Date(year, month + 1, 0).getDate(); //
      // 设置起始日期和结束日期
      this.startTime = `${year}-${month + 1}-01`
      this.endTime = `${year}-${month + 1}-${day}` // 月末
      this.startTime = `${year}-${month>9?'0'+month:month}-01`
      this.endTime = `${year}-${month>9?'0'+month:month}-${day}` // 月末
      this.siteList.forEach(item=>{
        item.page.current = 1
      })