收藏
回答

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字符串数组

最后一次编辑于  11-19
回答关注问题邀请回答
收藏
问题标签