Commit b15ac77c authored by hbcui1984's avatar hbcui1984

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

parent a3c96783
......@@ -139,16 +139,16 @@
if (subWebview == null) {
//获取共用父窗体
template = plus.webview.getWebviewById("default-main");
if(template){
subWebview = template.children()[0];
subWebview.loadURL('examples/info.html');
//修改共用父模板的标题
mui.fire(template, 'updateHeader', {
title: '关于',
showMenu: false
});
template.show('slide-in-right', 150);
}
}
if(template){
subWebview = template.children()[0];
subWebview.loadURL('examples/info.html');
//修改共用父模板的标题
mui.fire(template, 'updateHeader', {
title: '关于',
showMenu: false
});
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