微信小程序button标签bindgetuserinfo事件不触发

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_40695895/article/details/89540557

想要触发bindgetuserinfo事件要先给button标签添加open-type类型,代码如下:

<button open-type="getUserInfo" bindgetuserinfo='login' >点击登录</button>

猜你喜欢

转载自blog.csdn.net/qq_40695895/article/details/89540557
今日推荐