|
@@ -1190,8 +1190,13 @@
|
|
|
that.getEventList(that.calendarDay, that.pageSize, that.pageNum, '', false)
|
|
|
},
|
|
|
getEventList(day, pageSize, pageNum, eventSearch, loading) {
|
|
|
+ let num=this.eventList.length/pageSize+1
|
|
|
if (pageNum < 1) {
|
|
|
this.$modal.msg('当前已是第一页')
|
|
|
+ return
|
|
|
+ } else if(pageNum>num)
|
|
|
+ {
|
|
|
+ this.$modal.msg('当前已是最后一页')
|
|
|
return;
|
|
|
}
|
|
|
this.pageSize = pageSize;
|