Browse Source

1.搜索分页数据是否全部拿完逻辑修改

huangxiaodong 5 months ago
parent
commit
095c4e9405
1 changed files with 3 additions and 1 deletions
  1. 3 1
      创维盒子/code/NAS/NasSearchViewController.m

+ 3 - 1
创维盒子/code/NAS/NasSearchViewController.m

@@ -616,7 +616,9 @@
         if(model && model.status == 0){
             [self handelNetDataAfterFilterDataBy:model];
             
-            if (model.data.list.count < pageSizeNum) {
+            //if (_curSearchLisyMod.data.list.count < pageSizeNum)
+            if (weakSelf.curSearchLisyMod.data.list.count >= weakSelf.curSearchLisyMod.data.total)
+            {
                 [weakSelf.tableView.mj_footer endRefreshingWithNoMoreData];
             }
             else{