|
@@ -365,7 +365,7 @@
|
|
|
</div>
|
|
|
<!--分页-->
|
|
|
<div class="paging">
|
|
|
- <el-button type="button" :disabled="nextbutton"
|
|
|
+ <el-button type="button"
|
|
|
@click="getEventList(calendarDay,10,pageNum-1,eventSearch)">上一页 </el-button>
|
|
|
<span>第{{pageNum}}页</span>
|
|
|
<el-button type="button" :disabled="nextbutton"
|
|
@@ -1280,7 +1280,7 @@
|
|
|
eventName: eventSearch
|
|
|
}, loading).then(res => {
|
|
|
this.eventList = res.data
|
|
|
- if (res.data !== null && res.data.length !== 0) {
|
|
|
+ if (res.data !== null && res.data.length !== 0&& res.data.length == 10) {
|
|
|
this.nextbutton = false
|
|
|
} else {
|
|
|
this.nextbutton = true
|