更新请求睡眠报告格式错误
This commit is contained in:
@@ -483,6 +483,9 @@ class _NewHomePageState extends State<NewHomePage> {
|
||||
.value,
|
||||
'backgroundImg':
|
||||
'assets/images/new_background.png',
|
||||
'date': DateTime
|
||||
.now()
|
||||
.millisecondsSinceEpoch,
|
||||
},
|
||||
);
|
||||
}
|
||||
@@ -555,7 +558,7 @@ class _NewHomePageState extends State<NewHomePage> {
|
||||
.value = index;
|
||||
int? timeMillis =
|
||||
parseToInt(day[
|
||||
'time']); // 使用我们刚才封装的安全转换函数
|
||||
'time']);
|
||||
Get.toNamed(
|
||||
"/newSleepReportPage",
|
||||
arguments: {
|
||||
|
||||
Reference in New Issue
Block a user