[LayaAirIDE 2.0]调用微信小游戏系统订阅功能的接口 laya的touch事件获取不到
在按钮点击事件里调起订阅wx.requestSubscribeMessage
显示 requestSubscribeMessage:fail require user interaction (only in touchend event)
然后尝试了在wx的dialog点击事件里调用该接口也也是一样的反馈
只有直接粗暴的用wx.onTouchEnd才能调起,这个应该怎么处理呀
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Aar0n
赞同来自:
用这种办法试试