Commit 95060e2c authored by justin's avatar justin

异常日志修复

parent 8f0e8cda
......@@ -183,8 +183,11 @@ class BoostContainerState extends NavigatorState {
@override
Future<bool> maybePop<T extends Object>([T result]) async {
if(routerHistory.isEmpty)
if(routerHistory.isEmpty){
pop(result);
return true;
}
final Route<T> route = routerHistory.last;
final RoutePopDisposition disposition = await route.willPop();
......
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