1***@qq.com
1***@qq.com
  • 发布:2018-06-06 17:23
  • 更新:2018-06-06 17:23
  • 阅读:1096

为什么关闭页面后重新打开后无法执行页面的初始化

分类:MUI

详细问题描述
[内容]
调用mui.openWindow()方法打开loginCommon界面,createNew设置为new,但是打开loginCommon界面后,无法执行mui.plusReady()方法,界面无法初始化,还是保持以前界面参数
重现步骤
[步骤]
[结果]
[期望]

运行环境
[系统版本]
[浏览器版本]
[IDE版本]
[mui版本]

附件
plus.webview.close(plus.webview.getWebviewById("loginCommon"),"none");//关闭界面
plus.webview.close(plus.webview.getWebviewById("mainMenu"),"none");
plus.webview.close(plus.webview.getWebviewById("commonSetting"),"none");
plus.webview.close(plus.webview.getWebviewById("commonIndex"),"none");
//重新打开界面
var launchUrl= plus.webview.getLaunchWebview().getURL();
mui.openWindow({
url: launchUrl,
id: "loginCommon",
createNew: true,
extras:{
exitApp: "restart",
},
styles: {
popGesture: 'close'
},
show: {
auto: false,
aniShow: "slide-in-left"
}
});
[安装包]

联系方式
[QQ]
[电话]

2018-06-06 17:23 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复