update convenient phone page

hmxc
张萌 4 years ago
parent 2887f61a66
commit 26523115a7

@ -98,6 +98,10 @@ class _ConvenientPhonePageState extends State<ConvenientPhonePage> {
), ),
child: TextField( child: TextField(
controller: _textEditingController, controller: _textEditingController,
onSubmitted: (value) {
_easyRefreshController.callRefresh();
setState(() {});
},
decoration: InputDecoration( decoration: InputDecoration(
border: InputBorder.none, border: InputBorder.none,
prefixIcon: Icon( prefixIcon: Icon(
@ -115,6 +119,7 @@ class _ConvenientPhonePageState extends State<ConvenientPhonePage> {
), ),
Expanded( Expanded(
child: BeeListView( child: BeeListView(
extraParams: {'name': _textEditingController.text},
controller: _easyRefreshController, controller: _easyRefreshController,
path: API.manager.convenientPhone, path: API.manager.convenientPhone,
convert: (model) { convert: (model) {

Loading…
Cancel
Save