- 报错: 使用下列代码的时候无法读取到数据,但把数据库改为其他集合时,可以读取到数据。
db.collection('message').get().then(res=>{ console.log(res)})
原因: 该集合没有更改数据权限,从第二个更改为第一个即可。
【微信小程序云开发】报错汇总
最新推荐文章于 2025-02-04 22:09:21 发布
db.collection('message').get().then(res=>{ console.log(res)})