<u-button :loading="loading" :disabled="loading" :custom-style="customStyle" class="quick-btn wx-quick" open-type="getPhoneNumber" @getphonenumber="bindPhone"></u-button>
按照官方文写的获取不到,uni.getUserInfo
下面都不执行
官方文档 https://uniapp.dcloud.io/api/...
<u-button :loading="loading" :disabled="loading" :custom-style="customStyle" class="quick-btn wx-quick" open-type="getPhoneNumber" @getphonenumber="bindPhone"></u-button>
按照官方文写的获取不到,uni.getUserInfo
下面都不执行
官方文档 https://uniapp.dcloud.io/api/...
10 回答11.2k 阅读
5 回答4.8k 阅读✓ 已解决
4 回答3.1k 阅读✓ 已解决
2 回答2.7k 阅读✓ 已解决
3 回答4.8k 阅读✓ 已解决
3 回答1.9k 阅读✓ 已解决
2 回答4.8k 阅读✓ 已解决
我一直是这么写的,你可以参考
html
js