|
|
@@ -10,7 +10,7 @@
|
|
|
<view class='item' bindtap='close'>随便逛逛</view>
|
|
|
<!-- 在高版本中获取用户信息已改成uni.getUserProfile-->
|
|
|
<button class='item grant' type="primary" wx:if="{{canIUseGetUserProfile}}" lang="zh_CN" bindtap="agreeAndAuth">同意并授权</button>
|
|
|
- <button class='item grant' type="primary" wx:else open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="setUserInfo">同意并授权</button>
|
|
|
+ <button class='item grant' type="primary" wx:else open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="agreeAndAuth">同意并授权</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='mask' hidden='{{iShidden}}' catchtouchmove="true" bindtap='close'></view>
|