吃美食
吃美食
  • 发布:2015-11-17 17:41
  • 更新:2015-11-17 21:11
  • 阅读:1356

Uncaught TypeError: Object #<Object> has no method 'getWebviewByid' at index.html

分类:MUI
mui.init({  
          preloadPages:[  
            {  
              url:'a.html',  
              id:'a-html',  
              styles:{top: '0', bottom: '51px'}  
            }  
          ]  
        });  
        mui.plusReady(function(){  
            document.getElementById("a").addEventListener('tap', function(){  
                var a= plus.webview.getWebviewByid('a-html');  
                a.show();  
            });  
        });

有这段代码的页面,是在:plus.webview.create创建的页面里边。webview 有2,3级嵌套的。

2015-11-17 17:41 负责人:无 分享
已邀请:
DCloud_UNI_FXY

DCloud_UNI_FXY

getWebviewById

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