锁详情的门锁日志根据后台返回数据进行处理

This commit is contained in:
Daisy 2024-04-03 10:57:24 +08:00
parent 076cb07081
commit 5ffa8b2b16

View File

@ -198,9 +198,8 @@ class DoorLockLogLogic extends BaseGetXController {
startDate: state.startDate.value,
endDate: state.endDate.value);
if (state.lockLogEntity.value.errorCode!.codeIsSuccessful) {
print("操作记录列表成功:${state.lockLogEntity.value.data?.itemList}");
state.lockLogItemList.value = state.lockLogEntity.value.data!.itemList!;
if (entity.errorCode!.codeIsSuccessful) {
state.lockLogItemList.value = entity.data!.itemList!;
} else {}
}