uni 小程序获取手机号显示does not have a method “getPhoneNumber“
<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"></button>
改为
<button open-type="getPhoneNumber" @getphonenumber="getPhoneNumber" > </button>
你看三小欸还不学习
<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"></button>
改为
<button open-type="getPhoneNumber" @getphonenumber="getPhoneNumber" > </button>