- 当前 Bug 的表现(可附上截图)
- 预期表现
- 复现路径
- 提供一个最简复现 Demo
vivo xplay6上调用wx.addPhoneContact不显示号码
wx.addPhoneContact({ firstName: this .cardInfo.Name || '未知姓名' , mobilePhoneNumber: this .cardInfo.Phone, workPhoneNumber: this .cardInfo.Phone, homePhoneNumber: this .cardInfo.Phone, hostNumber: this .cardInfo.Phone, organization: this .cardInfo.CompanyName, title: this .cardInfo.Job, success: () => { wx.showToast({ icon: "success" , title: "添加成功" }); } }); |
除了firstName可以显示,其他几个号码均不显示,其他手机可以
你好,麻烦提供一下这种格式的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)