点击获取手机号码事件触发getPhoneNumbergetPhoneNumber(e){ if(e.detail.errMsg == "getPhoneNumber:ok"){ console.log("用_uniapp微信小程序 解密手机号">
当前位置:   article > 正文

uniApp微信小程序获取当前用户手机号码(前端)_uniapp微信小程序 解密手机号

uniapp微信小程序 解密手机号

按钮触发获取用户信息
uni-app中与微信小程序官网所写会不同

	<button open-type="getPhoneNumber" @getphonenumber="getPhoneNumber" withCredentials="true">点击获取手机号码
    本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/792034
    推荐阅读
    相关标签
      

    闽ICP备14008679号