feat:增加删除功能

This commit is contained in:
2025-12-03 19:55:34 +08:00
parent 8d23f06f74
commit adae2bc558
3 changed files with 70 additions and 7 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(