wxml:
<view class='headView'>
<view class='headImageView'>
</view>
<view class='titleText'>申请获取以下权限</view>
<view class='contentText'>获得你的公开信息(昵称,头像,手机等)</view>
<button class='authBtn' type='primary' open-type='getUserInfo' bindgetuserinfo='bindGetUserInfo'>授权登录</button>
</view>
js:
bindGetUserInfo:function(e){
console.log(e);
},
清理缓存后点击button还是直接返回{type: "getuserinfo", timeStamp: 4367, target: {…}, currentTarget: {…}, mark: {…}, …}未显示授权界面