Skip to content

Commit

Permalink
fix: 动态显示全体Up时,未读取更新参数
Browse files Browse the repository at this point in the history
  • Loading branch information
orz12 committed Aug 13, 2024
1 parent 43318de commit 1fa75a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/pages/dynamics/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ class DynamicsController extends GetxController
face: e.face,
mid: e.mid,
uname: e.uname,
hasUpdate:
hasUpdatedUps.any((element) => element.mid == e.mid))));
hasUpdate: hasUpdatedUps.any((element) =>
(element.mid == e.mid) && (element.hasUpdate == true)))));
allFollowedUpsPage += 1;
allFollowedUpsTotal = res['data'].total;
upData.value.upList = allFollowedUps;
Expand Down Expand Up @@ -273,8 +273,8 @@ class DynamicsController extends GetxController
face: e.face,
mid: e.mid,
uname: e.uname,
hasUpdate:
hasUpdatedUps.any((element) => element.mid == e.mid)))
hasUpdate: hasUpdatedUps.any((element) =>
(element.mid == e.mid) && (element.hasUpdate == true))))
.toList();
allFollowedUpsPage += 1;
allFollowedUpsTotal = ress[1]['data'].total;
Expand Down

0 comments on commit 1fa75a1

Please sign in to comment.