Merge branch 'feature/comment-0624-ch' into msb_test

fix/comment-0701
ch 2 years ago
commit 2fe0933c25

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-06-24 14:39:38 * @Date: 2022-06-24 14:39:38
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-06-30 22:37:34 * @LastEditTime: 2022-06-30 22:42:19
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -118,8 +118,10 @@ export default {
return false; return false;
} }
this.list = this.list.concat(result.records); this.list = this.list.concat(result.records);
//
if(result.records.length == 0 && this.pageIndex < result.pages){ if(result.records.length == 0 && this.pageIndex < result.pages){
this.next(); this.next();
return false;
} }
if(this.pageIndex === result.pages){ if(this.pageIndex === result.pages){
this.loading = 'nomore' this.loading = 'nomore'

Loading…
Cancel
Save