fix:修复更新记录失败的问题

This commit is contained in:
2025-12-02 22:21:38 +08:00
parent b3bb3378c3
commit e2853483f7
6 changed files with 42 additions and 24 deletions

View File

@@ -14,7 +14,7 @@ void main() async {
Hive.registerAdapter(HealthRecordAdapter());
final healthsBox = await Hive.openBox<HealthRecord>('healths');
healthsBox.clear();
// healthsBox.clear();
// await Hive.deleteBoxFromDisk('healths');
runApp(