view模式选项卡切换刷新

1***@qq.com
- 发布:2019-12-04 09:45
- 更新:2019-12-04 10:09
- 阅读:431
1 个回复
1***@qq.com (作者)
这个问题已经解决 给遇到的小伙伴上一下代码
// currIndex 是第几个页面
if(currIndex == 1){
var detailPage = plus.webview.getWebviewById("Home_Page/find.html");
mui.fire(detailPage, 'customEvent', null);
}
if(currIndex == 3){
var detailPage = plus.webview.getWebviewById("Home_Page/My_information.html");
mui.fire(detailPage, 'customEvent', null);
}