不会自动弹出授权窗口,需要手动添加按钮
<view class="panel">
<view class="title">其它测试</view>
·
·
·
<button open-type="getUserInfo">获取授权</button>
</view>
推荐文章: