提交 91090b99 authored 作者: 张国庆's avatar 张国庆

去除绑定 state
上级 3df86699
...@@ -58,7 +58,6 @@ class _BaseListWidgetState extends State<BaseListWidget> { ...@@ -58,7 +58,6 @@ class _BaseListWidgetState extends State<BaseListWidget> {
void initState() { void initState() {
super.initState(); super.initState();
_controller = widget.controller ?? BaseListController(); _controller = widget.controller ?? BaseListController();
_controller._bind(this); // 绑定 BaseListWidget state
} }
@override @override
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论