云开发查询数据库后 怎么样在返回success函数中 获取到page data中的数值?

发布于 6 年前作者 qiangcai8342 次浏览最后编辑 6 年前来自 issues

db.collection(‘’).where({

ID: this.data.ID

}).get({

success: res => {

 

}

})

1 回复
weiyang
weiyang1 楼5 年前

let that = this

db.collection(‘’).where({

ID:this.data.ID

}).get({

success: res => {

console.log(that.data);

})