vivo xplay6上调用wx.addPhoneContact不显示号码

发布于 6 年前作者 yongbai6571 次浏览最后编辑 6 年前来自 ask
  • 当前 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可以显示,其他几个号码均不显示,其他手机可以

2 回复
chaozhang
chaozhang1 楼6 年前

你好,麻烦提供一下这种格式的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

oyang
oyang2 楼4 年前