// <script type="text/javascript" src="https://res
// <script type="text/javascript" src="https://image.wxopen.club/content_377bd64a-5b43-11ea-a10e-001a7dda7111.png"></script>
// javascript
wx.miniProgram.navigateTo({url: '/path/to/page'})
wx.miniProgram.postMessage({ data: 'foo' })
wx.miniProgram.postMessage({ data: {foo: 'bar'} })
wx.miniProgram.getEnv(function(res) { console.log(res.miniprogram) })
h5调这些方法都不执行