<button bindtap="kefuFunc">123123</button>
kefuFunc(){
wx.openCustomerServiceChat({
extInfo: {url: 'https://work.weixin.qq.com/kfid/kfc97063cb1877548b6'},
corpId: 'wwdbdb1983d852a449',
success(res) {
console.log(res,11)
},
fail(error){
console.log(error,222)
}
})
},
代码如上,点击按钮后一闪而过;
基础库版本:
客服已关联