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

@@ -33,6 +33,8 @@ class _GoalProgressState extends State<GoalProgress> {
provider.totalSpot = service.getTotalSport();
provider.avgSleep = service.getAvgSleep();
provider.latestWeight = service.getLatestWeight();
provider.updateRecord(service.getRecordByDate(provider.selectedDate));
});
}