Commit 063f4bc7 authored by 朱翠翠's avatar 朱翠翠

逻辑添加

parent a191115b
......@@ -75,7 +75,9 @@ class _PlansCompareFeedState extends BaseState<PlansCompareFeedPage>
}
if (item.error != 0) {
return errorItem(MediaQuery.of(context).size.width,
MediaQuery.of(context).size.height, () {});
MediaQuery.of(context).size.height, () {
_model.init(widget._planType, widget._planId);
});
}
return getList(item.data.plans);
},
......
......@@ -79,7 +79,9 @@ class _ProjectDetailsState extends BaseState<ProjectDetailsPage> {
MediaQuery
.of(context)
.size
.height, () {});
.height, () {
_model.init(widget._planId);
});
}
return ListView.builder(
itemCount: item.data.groups.length,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment