更新请求睡眠报告格式错误

This commit is contained in:
wyf
2025-06-17 09:21:09 +08:00
parent 441bc828ca
commit 1fe783d42e

View File

@@ -483,6 +483,9 @@ class _NewHomePageState extends State<NewHomePage> {
.value, .value,
'backgroundImg': 'backgroundImg':
'assets/images/new_background.png', 'assets/images/new_background.png',
'date': DateTime
.now()
.millisecondsSinceEpoch,
}, },
); );
} }
@@ -555,7 +558,7 @@ class _NewHomePageState extends State<NewHomePage> {
.value = index; .value = index;
int? timeMillis = int? timeMillis =
parseToInt(day[ parseToInt(day[
'time']); // 使用我们刚才封装的安全转换函数 'time']);
Get.toNamed( Get.toNamed(
"/newSleepReportPage", "/newSleepReportPage",
arguments: { arguments: {