From 8ced3174fa4044f383c9c7af6c8b5aa08d69e08c Mon Sep 17 00:00:00 2001 From: wyf <494641114@qq.com> Date: Fri, 11 Jul 2025 17:15:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=A5=E6=8A=A5=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/sleep_report/component/SleepView.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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(); } }