修改分页判断

feature/comment-0620-ch
ch 3 years ago
parent 460ba55458
commit fb70e2306f

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-06-21 16:51:03
* @LastEditors: ch
* @LastEditTime: 2022-06-30 17:38:08
* @LastEditTime: 2022-06-30 22:18:01
* @Description: file content
-->
<template>
@ -88,7 +88,8 @@ export default {
if(!HandleApiError(error, 'getList')){
this.list = this.list.concat(result.records);
//
if(result.records.length < this.pageSize){
// if(result.records.length < this.pageSize){
if(result.pages == this.pageIndex){
this.loadingStatus = 'nomore';
}
}

Loading…
Cancel
Save