1.where是条件查询
wx.cloud.database().collection("password")
.where({//条件查询
user: 'potato'
})
.get()
.then(res => {
console.log("成功", res)
this.setData({
list: res.data
})
})
.catch(
error => {
console.log("失败", error)
}
)