注意1:
第一次使用报错
wx.requestSubscribeMessage is not undefined
原因是因为这个api是从2.8.2版本开始的,我的版本是之前的,在开发者工具中 详情-》本地设置-》调式基础库版本修改成2.8.2以上
注意点2:
只能使用点击事件才可以调起bindtap,其他则报错
requestSubscribeMessage:fail can only be invoked by user TAP gesture
注意1:
第一次使用报错
wx.requestSubscribeMessage is not undefined
原因是因为这个api是从2.8.2版本开始的,我的版本是之前的,在开发者工具中 详情-》本地设置-》调式基础库版本修改成2.8.2以上
注意点2:
只能使用点击事件才可以调起bindtap,其他则报错
requestSubscribeMessage:fail can only be invoked by user TAP gesture