数据预取在wx后台配置完成之后,编辑器开启启用数据预拉取,报错 error: 系统错误,错误码:6000101,no response data。
使用真机调试打印res,返参 {errMsg: "getBackgroundFetchData:ok"},看接口日志是有请求到,也是正常返回了数据
wx.getBackgroundFetchData({
fetchType: 'pre',
success: (res) => {
console.log('res123', res)
},
fail: (err) =>{
console.log(err)
}
})