mcy_new #1
|
|
@ -115,7 +115,7 @@ class _HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin
|
||||||
Obx(() {
|
Obx(() {
|
||||||
return Container(
|
return Container(
|
||||||
padding: EdgeInsets.symmetric(horizontal: 12.w),
|
padding: EdgeInsets.symmetric(horizontal: 12.w),
|
||||||
child: Column(
|
child: state.workList.isNotEmpty?Column(
|
||||||
children: List.generate(state.workList.length, (index) {
|
children: List.generate(state.workList.length, (index) {
|
||||||
Items item = state.workList[index];
|
Items item = state.workList[index];
|
||||||
return InkWell(
|
return InkWell(
|
||||||
|
|
@ -242,7 +242,7 @@ class _HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
),
|
):const MyEmptyWidget(),
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue