解决查看录像页 UI

This commit is contained in:
2026-07-28 14:59:34 +08:00
parent 1096645e79
commit 9e72bc522e
7 changed files with 183 additions and 34 deletions
@@ -66,7 +66,8 @@ class AuthViewModel extends StateNotifier<AuthState> {
Future<bool> getRecordList(String eventName) async {
if (eventName.isEmpty) return false;
final data = await AuthServer.getRecordList(_ref, eventName);
if (data.items == null || data.items!.isEmpty) return false;
if (data == null) return false;
if (data.items == null) return false;
state = state.copyWith(recordList: data.items);
return true;
}