mpvue構建小程序三——小程序的授權登錄

一:在標籤中一定要有這個button按鈕,否則無法引導用戶授權(小程序文檔已經更新)  <button open-type="getUserInfo" lang="zh_CN" @getuserinfo="bindGetUserInfo"> 獲取用戶信息 </button>    二:js中使用 setting(){ const that=this; wx.login({
相關文章
相關標籤/搜索