wx-open-subscribe 为什么安卓手机 无法监听用户点击的是允许还是取消?
安卓手机无法打印333
var that = this
this.$nextTick(() => {
// 循环待申请列表
this.dataList.forEach((item)=>{
const btn = document.getElementById('subscribe-btn'+item.id);
btn.addEventListener('success', function ({detail}) {
console.log("333")
try {
console.log('success', detail);
if(detail.errMsg == 'subscribe:ok'){
let subscribeDetails = JSON.parse(detail.subscribeDetails)
let key = subscribeDetails[that.subTemplateId]
let status = JSON.parse(key)
that.goApplyForm(item,status.status)
}
} catch (error) {
console.log("catch---error",error)
}
},true);
btn.addEventListener('error',function ({detail}) {
console.log('会员审核通知---fail', detail);
},true);
})
})