这是配置信息,调不出微信界面
丿白开水
- 发布:2016-12-14 10:50
- 更新:2016-12-14 11:20
- 阅读:1375
微信分享调不出微信界面
分类:HTML5+
function onBridgeReady(){
WeixinJSBridge.call('showOptionMenu');
}
if (typeof WeixinJSBridge == "undefined"){
if( document.addEventListener ){
document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
}else if (document.attachEvent){
document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
}
}else{
onBridgeReady();
}