uniapp小程序新版授权登录


1.授权按钮:

<view>
   <button class='login-btn' type='primary' @click="bindGetUserInfo"> 授权登录 button>
view>

2.事件方法: