Archives for : 六月2025

第1632天:bindgetphonenumber 和 bindtap 事件冲突

小程序的 button,如果同时存在 bindgetphonenumber 和 bindtap,大部分机型两个事件都会执行,极少部分机型只会执行 bindtap,不会执行 bindgetphonenumber,导致用户点击按钮时没有拉起手机号授权。

按这个逻辑,button 上的其他 bind 事件也不能和 bindtap 一起使用,例如 bindgetuserinfo、bindcontact 等,应该也会有部分机型不兼容。