Commit f7460450 authored by Jidong Chen's avatar Jidong Chen

delete qeury

parent 2c898736
...@@ -38,20 +38,10 @@ ...@@ -38,20 +38,10 @@
private boolean onCall(MessageResult<Boolean> result,String pageName,Map params,Boolean animated){ private boolean onCall(MessageResult<Boolean> result,String pageName,Map params,Boolean animated){
Map pageParams = null; FlutterBoostPlugin.openPage(null,pageName,params,0);
int requestCode = 0; if(result != null){
result.success(true);
if(params != null && params.get("query") != null) {
pageParams = (Map)params.get("query");
}
if(params != null && params.get("requestCode") != null) {
requestCode = (int)params.get("requestCode");
} }
FlutterBoostPlugin.openPage(null,pageName,pageParams,requestCode);
result.success(true);
return true; return true;
} }
......
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