From bb7dcfb0efb44f07a62669affcc05b2d05a43141 Mon Sep 17 00:00:00 2001 From: machuanyu <840649825@qq.com> Date: Wed, 3 Jul 2024 14:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E6=95=B0=E6=8D=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- making_school_asignment_app/lib/page/home_page/home_view.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/making_school_asignment_app/lib/page/home_page/home_view.dart b/making_school_asignment_app/lib/page/home_page/home_view.dart index a32557e..bf2b7e1 100644 --- a/making_school_asignment_app/lib/page/home_page/home_view.dart +++ b/making_school_asignment_app/lib/page/home_page/home_view.dart @@ -115,7 +115,7 @@ class _HomePageState extends State with AutomaticKeepAliveClientMixin Obx(() { return Container( padding: EdgeInsets.symmetric(horizontal: 12.w), - child: Column( + child: state.workList.isNotEmpty?Column( children: List.generate(state.workList.length, (index) { Items item = state.workList[index]; return InkWell( @@ -242,7 +242,7 @@ class _HomePageState extends State with AutomaticKeepAliveClientMixin ), ); }), - ), + ):const MyEmptyWidget(), ); }), ],