html52.com
我爱小程序-开发者交流社区

框架类型 问题类型 终端类型 微信版本 基础库版本
小程序 Bug 微信iOS客户端 8.0.31 2.25
<button open-type="contact" bindcontact="handleContact"></button>

https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/customer-message/customer-message.html


你们官方给的示例代码无法获取信息:

handleContact (e) {
        console.log(e.detail.path)
        console.log(e.detail.query)
    }

其中e.detail.path和e.detail.query返回内容为空,烦请官方给出解释。

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付