Explorar o código

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

JX.LI %!s(int64=2) %!d(string=hai) anos
pai
achega
d68aa10ce4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)