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

review code

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