diff --git a/lib/ui/home/set/phone_num_list/call_records_list.dart b/lib/ui/home/set/phone_num_list/call_records_list.dart index 1d507e5..9f54c2b 100644 --- a/lib/ui/home/set/phone_num_list/call_records_list.dart +++ b/lib/ui/home/set/phone_num_list/call_records_list.dart @@ -95,9 +95,9 @@ class _CallRecordsListState extends State { if (phoneNum3.isEmpty) { CloudToast.show('请选择手机号'); } else { - print(phoneNum3); - var res = await ExcludeFunc.getContactsList(phoneNum3); - if(res) Get.back(); + // print(phoneNum3); + await ExcludeFunc.getContactsList(phoneNum3); + Navigator.pop(context,true); } // _easyRefreshController.callRefresh(); diff --git a/lib/ui/home/set/specify_phone_page.dart b/lib/ui/home/set/specify_phone_page.dart index 819cd45..17d6df9 100644 --- a/lib/ui/home/set/specify_phone_page.dart +++ b/lib/ui/home/set/specify_phone_page.dart @@ -65,7 +65,7 @@ class _SpecifyPhonePageState extends State { MaterialPageRoute( builder: (_) => const CallRecordsList()), ) - .then((val) => _getNullList()); + .then((val) =>_refreshController.callRefresh()); // Get.to(() => const CallRecordsList()); }), @@ -89,9 +89,11 @@ class _SpecifyPhonePageState extends State { } else { Get.to(() => (const ExcludeContactsPage())); } + }), _getAddPhone("添加单个或批量号码", "通过输入号码段添加批量号码", () { Get.to(() => (const ExcludeSinglePage())); + }), ], )), @@ -112,6 +114,7 @@ class _SpecifyPhonePageState extends State { ); }, context: context); + }, child: EasyRefresh( firstRefresh: true,