在web-view中调用wx.miniProgram.navigateTo报错
调试H5跳转微信小程序,在h5中引用
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
代码如下
$( "#testClick" ).click( function (){ wx.miniProgram.switchTab({ url: "/pages/exhibition/exhibition" }); }); |
然后在微信开发平台出现
{errMsg: "invokeMiniProgramAPI:fail, the permission value is offline verifying" } |
请问是哪里调用出错了吗,还是需要配置什么