wx.requestSubscribeMessage:fail data unknow error?
调用wx.requestSubscribeMessage,fail回调报错:
requestSubscribeMessage:fail data unknow error
这个问题我也尝试了用bindtap但是没用
代码:
js:
submit() {
console.log(‘templateIds =’, this.data.templateIds)
wx.requestSubscribeMessage({
tmplIds: this.data.templateIds,
success: (res) => {
console.log(‘requestSubscribeMessage-scuusee’, res)
this.postRemind()
},
fail: (res) => {
console.log(‘requestSubscribeMessage-fail’, res)
}
})
}
wxml:
<view class=“remind-r” bindtap=“submit”>{{remindBtnText}}</view>
templateIds是一个id字符串数组