fix refresh controller may fail.

hmxc
小赖 4 years ago
parent a80684ad77
commit 3f2feb6cb4

@ -100,7 +100,7 @@ class _BeeListViewState<T> extends State<BeeListView> {
params: _params, params: _params,
); );
_models = widget.convert(_model); _models = widget.convert(_model);
widget.controller.resetLoadState(); widget.controller?.resetLoadState();
setState(() {}); setState(() {});
}, },
firstRefresh: true, firstRefresh: true,

Loading…
Cancel
Save