收藏
回答

wx.notifyGroupMembers 在体验版可正常拉起弹窗发送,正式版点击报错?

this.data.pendingMembers = ['AByaJO2La4iCMVkSp1Arf1yeR0R5Yf9U7om04fNqC1QGrEXjuA']
wx.notifyGroupMembers({
      title: `领取新客店礼`,
      members: this.data.pendingMembers,
      entrancePath: `packageA/pages/webview/index`,
      type'complete',
      success: (res) => {}
})


体验版本和开发版本可以正常弹出弹窗并发送 正式版本就报notifyGroupMembers:fail undefined is not an object (evaluating 'e.split')错误

回答关注问题邀请回答
收藏

3 个回答

  • 社区技术运营专员-Jahozheng
    社区技术运营专员-Jahozheng
    06-25

    检查客户端版本基础库是不是低于3.7.8https://developers.weixin.qq.com/miniprogram/dev/framework/client-lib/version.html

    06-25
    有用
    回复 2
  • 智能回答 智能回答 该问答由AI生成
    06-25
    有用 1
  • Sakura
    Sakura
    06-25

    0:"AByaJO2La4iCMVkSp1Arf1yeR0R5Yf9U7om04fNqC1QGrEXjuA" 正式站打印的 members 参数信息 符合文档要求的预期数据

    分享失败 {type: "string", description: "分享失败", value: "分享失败"} [object Object] {type: "object", description: "[object Object]", objectId: "51", className: "Object", preview: {type: "object", description: "[object Object]", properties: [{name: "errMsg", type: "string", description: "notifyGroupMembers:fail undefined is not an object (evaluating 'e.split')", value: "notifyGroupMembers:fail undefined is not an object (evaluating 'e.split')"}], overflow: true}} 完整的报错信息

    06-25
    有用
    回复
登录 后发表内容