更新请求睡眠报告格式错误
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user