uniCloud.callFunction({
name: 'test',
data: { a: 1 }
}).then(res => {
console.group('-----------------------');
console.log(res)
console.groupEnd();
uni.hideLoading();
})
},
之前是好的,这是什么鬼?
VM145 WAService.js:2 TypeError: Cannot read property 'info' of undefined
at success (vendor.js?t=wechat&s=1630983332408&v=9ab3de3e3ecde0807ca844acdff474ab:13941)
at queue (vendor.js?t=wechat&s=1630983332408&v=9ab3de3e3ecde0807ca844acdff474ab:199)
at callbackInterceptor (vendor.js?t=wechat&s=1630983332408&v=9ab3de3e3ecde0807ca844acdff474ab:222)
at Function.forEach.s.<computed> (VM145 WAService.js:2)
at :29468/appservice/<api request success callback function>
at VM145 WAService.js:2
at u (VM145 WAService.js:2)
at r.<anonymous> (VM145 WAService.js:2)
at :29468/appservice/<NetworkRequest4success callback function>
at VM145 WAService.js:2(env: Windows,mp,1.05.2108130; lib: 2.19.2)
1 个回复
m***@vip.qq.com (作者) - 雷霆先锋
已解决了,自己写了个拦截器的原因。