Mini Program reminds users that they are not bound to their mobile phones.

known user Wechat not bound to a mobile phone

<button open-type="getPhoneNumber" bindgetphonenumber="signUp"></button>

A prompt box appears when you click

clipboard.png

how to get whether the user clicked on determine or cancel

expect to get the click status of the user

May.22,2021

you can learn from the event.detail of the event ~

<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"></button> 
Page({ 
    getPhoneNumber: (e) => { 
        console.log(e.detail)
    } 
}) 

this pop-up window appears only in the development tool. Another pop-up window will appear on the real machine. If the user refuses, the relevant error will be returned

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3aca0-2ba94.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3aca0-2ba94.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?