spring
2025-02-13 98bd1f422096ef352af50e17d5fdaa681b98d4d8
站点统计修改
已修改1个文件
已删除1个文件
6 ■■■■ 文件已修改
node_modules.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b4-site-hours-statistics.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
node_modules.zip
Binary files differ
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
      })