用户权限授权修改
This commit is contained in:
@@ -66,7 +66,7 @@ Component({
|
||||
|
||||
// 点击获取个人信息
|
||||
openUserInfo(e) {
|
||||
this.triggerEvent('getuserinfo', e.detail, {});
|
||||
this.triggerEvent('getuserinfo', e, {});
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<button wx:if="{{showCancel}}" bindtap='cancel'>{{cancelBtnTitle}}</button>
|
||||
<view class='line' wx:if="{{showCancel}}"></view>
|
||||
<button open-type='openSetting' wx:if="{{isAuth}}" bindopensetting="openSetting">{{confirmBtnTitle}}</button>
|
||||
<button open-type='getUserInfo' wx:elif="{{isUserInfo}}" bindgetuserinfo="openUserInfo">{{confirmBtnTitle}}</button>
|
||||
<button wx:elif="{{isUserInfo}}" bindtap="openUserInfo">{{confirmBtnTitle}}</button>
|
||||
<button wx:else bindtap='confirm'>{{confirmBtnTitle}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user