Commit 0b327caf39591316f2f3fdf7db6106ec956e3284

Authored by wdn127929
1 parent c318bcc7

我的客户列表

... ... @@ -333,10 +333,12 @@ class _MyCustomerListPageState extends State<MyCustomerListPage>
// setState(() {});
// _searchSellerLocation();
// customerProvider.searchData(value);
_getContantData(showLoading: false);
},
onEditingComplete: () {
FocusScope.of(context)
.requestFocus(FocusNode()); //点击空白处隐藏键盘
_getContantData(showLoading: false);
// contantShowModel.searchData(
// contantShowModel.controller.text);
// _searchSellerLocation();
... ... @@ -364,6 +366,9 @@ class _MyCustomerListPageState extends State<MyCustomerListPage>
WidgetsBinding.instance.addPostFrameCallback(((_) {
customerProvider.controller.clear();
// customerProvider.searchData('');
FocusScope.of(context)
.requestFocus(FocusNode()); //点击空白处隐藏键盘
_getContantData(showLoading: false);
}));
},
)),
... ... @@ -1225,8 +1230,6 @@ class _MyCustomerListPageState extends State<MyCustomerListPage>
return ExceptionPage(
pageState: model.pageState,
callback: () {
model.pageState = PageState.Loading;
model.notifyListeners();
_getContantData();
},
emptyMsg: "暂时没有客户哦",
... ...