From b01dc28d2c1b435118cccdc0b894fbc40b634aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=90=8C?= <494089941@qq.com> Date: Wed, 31 Aug 2022 15:56:32 +0800 Subject: [PATCH] fix bug --- .../inspection_manage/inspection_point_input_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ui/manage_pages/inspection_manage/inspection_point_input_page.dart b/lib/ui/manage_pages/inspection_manage/inspection_point_input_page.dart index 7d36ecb..160cb62 100644 --- a/lib/ui/manage_pages/inspection_manage/inspection_point_input_page.dart +++ b/lib/ui/manage_pages/inspection_manage/inspection_point_input_page.dart @@ -194,7 +194,7 @@ class _InspectionPointInputPageState extends State { value: 0, gropValue: _submitModel.executeCheckList![index].status, onPressed: () { - _submitModel.executeCheckList![index].status = 0; + _submitModel.executeCheckList![index].status = 1; setState(() {}); }, ), @@ -204,7 +204,7 @@ class _InspectionPointInputPageState extends State { value: 1, gropValue: _submitModel.executeCheckList![index].status, onPressed: () { - _submitModel.executeCheckList![index].status = 1; + _submitModel.executeCheckList![index].status = 2; setState(() {}); }, ),