zhengchang(){
db.collection("bug").doc('618e7cc3808fdd000103d513').get().then((res) => {
const data = res.result.data[0]
if (data) {
this.formData = data
console.log(JSON.stringify(data),"不会被查询到")
}
}).catch((err) => {
console.log(err.message,"查询失败3")
uni.showModal({
content: "doc 单表查询 [结果正常3333]"+err.message ,
showCancel: false
})
})
},
bug4(){
db.collection("bug,uni-id-users").doc('618e7cc3808fdd000103d513').get().then((res) => {
const data = res.result.data[0]
if (data) {
this.formData = data
uni.showModal({
content:"doc 多表查询 [异常正常] 数据库read 权限失效 不管啥判断 都可以正常读"+ JSON.stringify(this.formData) ,
showCancel: false
})
}
}).catch((err) => {
uni.showModal({
content:"doc 多表查询 [结果正常]"+err.message ,
showCancel: false
})
})
},