wx.onMessage(function callback)
功能描述
监听主域发送的消息
参数
function callback
监听事件的回调函数
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.