Commit b45bdf57 authored by Admin's avatar Admin

FlutterViewContainerManager mOnResults 关联错误修复。

parent 7422c7c1
......@@ -135,8 +135,10 @@ public class FlutterViewContainerManager implements IContainerManager {
final String uniqueId = ContainerRecord.genUniqueId(url);
urlParams.put(IContainerRecord.UNIQ_KEY,uniqueId);
IContainerRecord currentTopRecord = getCurrentTopRecord();
if(onResult != null) {
mOnResults.put(uniqueId,onResult);
mOnResults.put(currentTopRecord.uniqueId(),onResult);
}
NewFlutterBoost.instance().platform().openContainer(context,url,urlParams,requestCode,exts);
......
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