代码如下
mui.init({
subpages:[
{
url:'shouye.html',
id:'shouye',
styles:{top:'0px',bottom:'44px'}
},
{
url:'geren.html',
id:'geren',
styles:{top:'0px',bottom:'44px'}
}
]
})
mui.plusReady(function(){
plus.webview.getWebviewById('shouye').show()
})
重启app后,plus.webview.getWebviewById('shouye').show()就报错了,提示我
Uncaught TypeError: Cannot read property 'show' of null
怎么回事,求大神解答
8***@qq.com
- 发布:2018-09-29 12:04
- 更新:2019-06-06 16:30
- 阅读:2923