Commit b15ac77c authored by hbcui1984's avatar hbcui1984

解决hello mui中第二次打开关于页面失败的问题

parent a3c96783
...@@ -139,6 +139,7 @@ ...@@ -139,6 +139,7 @@
if (subWebview == null) { if (subWebview == null) {
//获取共用父窗体 //获取共用父窗体
template = plus.webview.getWebviewById("default-main"); template = plus.webview.getWebviewById("default-main");
}
if(template){ if(template){
subWebview = template.children()[0]; subWebview = template.children()[0];
subWebview.loadURL('examples/info.html'); subWebview.loadURL('examples/info.html');
...@@ -149,7 +150,6 @@ ...@@ -149,7 +150,6 @@
}); });
template.show('slide-in-right', 150); template.show('slide-in-right', 150);
} }
}
}); });
//首页返回键处理 //首页返回键处理
......
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