fix:调整回到列表偶尔出现相同锁记录

This commit is contained in:
liyi 2025-04-28 09:20:52 +08:00
parent ea01d79bbd
commit 37f4e6d78e

View File

@ -60,9 +60,9 @@ class LockListLogic extends BaseGetXController {
// //
void setLockListInfoGroupEntity(LockListInfoGroupEntity entity) { void setLockListInfoGroupEntity(LockListInfoGroupEntity entity) {
this.entity = entity; this.entity = entity;
if (entity.pageNo == 1) { // if (entity.pageNo == 1) {
_groupDataList = <GroupList>[]; _groupDataList = <GroupList>[];
} // }
_groupDataList.addAll(entity.groupList!); _groupDataList.addAll(entity.groupList!);
update(); update();
} }