小程序跳转web-view的时候为什么会加载了两次H5才会返回小程序?
小程序:<web-view srchttps://crm.bm.cn/wechat/3/getopen?me=1"bindmessage"getMessage"></web-view
getMessage: <span style="color: rgb(0, 0, 255);">function</span> (e){
wx.setStorageSync(‘openid’, e.detail.data[0].msg)
},
H5里面只有:<script type=“text/javascript” src=“https://res.wx.qq.com/open/js/jweixin-1.3.2.js”></script>
<script>
wx.miniProgram.postMessage({ data: {msg: “{{$open_id}}”}})
wx.miniProgram.navigateBack({});
</script>
请问这个是怎么回事