云函数开启本地调试,在云函数调试面板network无法查看云函数的对于本地的请求?
云函数开启本地调试,在云函数调试面板network无法查看云函数的对于本地的请求。 https://developers.weixin.qq.com/minigame/dev/wxcloud/guide/functions/local-debug.html#%E6%9C%AC%E5%9C%B0%E8%B0%83%E8%AF%95%E7%89%B9%E6%AE%8A-Feature [图片] 上面是官方的请求情况,下图是我使用开发者工具的请求结果: async function testfun(){
var res = await db.collection('company').get()
console.log('res',res)
}
[图片] 如果使用云函数的调用,则会显示请求: async function testfun(){
cloud.callFunction({
name:'wxapi',
data:{}
}).then(res=>{console.log('res',res)})
}
[图片] 请大佬协助。