wx.requestSubscribeMessage不能在wx.login中使用吗?

发布于 6 年前作者 jshi14540 次浏览最后编辑 6 年前来自 ask

wx.requestSubscribeMessage在wx.login中无法调起弹窗

3 回复
yangpeng
yangpeng1 楼5 年前

为什么要放到这个里面。

xia75
xia752 楼5 年前

谢邀。

1、wx.login不需要点击可直接调用;

2、需要用户有点击动作才能wx.requestSubscribeMessage

yangjun
yangjun3 楼4 年前

wx.login在点击事件中