Explorar o código

1.app删除操作逻辑优化

huangxiaodong hai 5 meses
pai
achega
c7c0f472fe
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      创维盒子/code/NAS/NasPreviewAPPViewController.m

+ 2 - 2
创维盒子/code/NAS/NasPreviewAPPViewController.m

@@ -1341,13 +1341,13 @@
 - (void)deleteNetDataByDeleteSucFun
 {
     NSMutableArray *afterFilterArr = [NSMutableArray new];
-    for (getInstalledAppModel *model in _getInstalledAppListMod.data) {
+    for (getInstalledAppModel *model in _getUninstalledAppListMod.data) {
         if (!model.isSelectType) {
             [afterFilterArr addObject:model];
         }
     }
     
-    _getInstalledAppListMod.data = (NSArray<getInstalledAppModel>*)afterFilterArr;
+    _getUninstalledAppListMod.data = (NSArray<getInstalledAppModel>*)afterFilterArr;
     
     [self.tableView reloadData];
 }