为什么getPhoneNumber获取的code是undefined?
<!-- <button open-type="getPhoneNumber" class=" btn-wx d-flex a-center j-center rounded-sm"
style="height: 100rpx; width: 70vw;margin: 0;background-color: #60c526;" @getphonenumber="phoneLogin">
<img src="@/static/images/wx.png" style="width: 60rpx;height: 60rpx;"></img><text
class="font-weight ml-3 text-white" style="letter-spacing: 4rpx">微信一键登录</text>
</button> -->
[图片][图片]