diff --git a/lib/pages/sleep_report/component/SleepView.dart b/lib/pages/sleep_report/component/SleepView.dart index 5a13194..5378908 100644 --- a/lib/pages/sleep_report/component/SleepView.dart +++ b/lib/pages/sleep_report/component/SleepView.dart @@ -53,10 +53,8 @@ class _SleepViewWidgetState extends State { List lightSnore = widget.sleepReport['ssp']['data'][0]; List heavySnore = widget.sleepReport['ssp']['data'][1]; - snoreValues = [...lightSnore, ...heavySnore]; - snoreValues.sort((a, b) { return a['st'].compareTo(b['st']); }); @@ -173,7 +171,7 @@ class _SleepViewWidgetState extends State { mainAxisSize: MainAxisSize.min, children: [ Container( - height: 43.rpx, + height: 20.rpx, child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ @@ -328,7 +326,7 @@ class _SleepViewWidgetState extends State { ), ); } catch (e) { - es.EasyDartModule.logger.error("打鼾监测绘制异常${e}"); + es.EasyDartModule.logger.error("打鼾监测绘制异常${e}"); return Container(); } }