首页
技术
登录
6mi
u
盘
搜
搜 索
技术
db.collection.get()获取不到数据---微信小程序云开发
db.collection.get()获取不到数据---微信小程序云开发
技术
2022-07-13
69
代码:
// 从in_theaters云数据库里获取三条数据
let
res
=
await
db
.
collection
(
"in_theaters"
)
.
where
(
{
}
)
.
limit
(
3
)
.
get
(
)
console
.
log
(
'res=>'
,
res
)
运行结果:获取不到数据库数据
解决:修改数据库权限 改完权限之后运行:成功拿到
转载请注明原文地址:https://ipadbbs.8miu.com/read-24864.html
最新回复
(
0
)