云开发查询数据库后 怎么样在返回success函数中 获取到page data中的数值?
发布于 5 年前 作者 qiangcai 8162 次浏览 来自 官方Issues

db.collection(’’).where({

ID: this.data.ID

}).get({

success: res => {

 

}

})

1 回复

let that = this

db.collection(’’).where({

ID:this.data.ID

}).get({

success: res => {

console.log(that.data);

})

回到顶部