小程序webview數據傳輸postmessage

前言 首先我的類型小程序不支持webview的使用,其次須要到微信公衆平臺配置業務域名,這個業務域名就是webview的合法域名;以上兩點是必要條件javascript 代碼模塊 小程序代碼塊 <web-view src="http://jialidun.club/" bindmessage="getMSG"></web-view> getMSG(e){ console.log('====
相關文章
相關標籤/搜索