分页最后一页判断修改

feature/comment-0620-ch
ch 2 years ago
parent fb70e2306f
commit b3cd9615ca

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-06-21 16:51:03
* @LastEditors: ch
* @LastEditTime: 2022-06-30 22:18:01
* @LastEditTime: 2022-06-30 22:40:31
* @Description: file content
-->
<template>
@ -87,6 +87,11 @@ export default {
});
if(!HandleApiError(error, 'getList')){
this.list = this.list.concat(result.records);
//
if(result.records.length == 0 && this.pageIndex < result.pages){
this.next();
return false;
}
//
// if(result.records.length < this.pageSize){
if(result.pages == this.pageIndex){

Loading…
Cancel
Save