Browse Source

事件列表翻页后,选择日历日期切换数据,列表页数没变,应从第一页开始

JX.LI 2 years ago
parent
commit
d68aa10ce4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/forest.vue

+ 1 - 0
src/views/forest.vue

@@ -868,6 +868,7 @@ import {getUserProfile} from "@/api/system/user";
         return y + '-' + m + '-' + d
       },
       selectDay(day) { //日历点击
+        this.pageNum = 1
         this.getTodayEvents(day)
         this.getDeptEventCount(day)
         this.getWeather(day)