Commit c7eb48c8 authored by 林生雨's avatar 林生雨

review code

parent 6e6f686e
......@@ -232,7 +232,6 @@ class PlanModel extends BaseModel {
backLive.dispost();
feedsLive.dispost();
showTab.dispost();
print("LSY PLAN DISPOSE");
}
void backProgress(double pro, int index) {
......
......@@ -63,7 +63,6 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
@override
void initState() {
print("LSY PLAN INIT ");
_model.init(needCache: true);
super.initState();
planBarView =
......
......@@ -40,7 +40,6 @@ class TopListState extends State<TopList> with AutomaticKeepAliveClientMixin {
_model.getData(true);
};
SimpleEventBus.instance().resignEvent("TopList", refresh);
print("${this} INIT");
}
@override
......@@ -48,7 +47,6 @@ class TopListState extends State<TopList> with AutomaticKeepAliveClientMixin {
refreshController.dispose();
_model.dispose();
SimpleEventBus.instance().unResignEvent("TopList", refresh);
print("${this} QUIT");
super.dispose();
}
......
......@@ -31,7 +31,6 @@ class TopPage extends StatefulWidget {
String title;
TopPage(Map<String, dynamic> map) {
print("LSY ${map.toString()}");
this.rank_type = map["rank_type"];
this.id = map["id"];
this.title = map["title"];
......
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