收藏
回答

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

db.collection('').where({

ID: this.data.ID

}).get({

success: res => {

}

})


回答关注问题邀请回答
收藏

1 个回答

  • Mr.Zhao
    Mr.Zhao
    2019-12-21

    let that = this

    db.collection('').where({

    ID:this.data.ID

    }).get({

    success: res => {

    console.log(that.data);

    })

    2019-12-21
    有用
    回复 1
    • hi
      hi
      2019-12-21
      已解决,谢谢
      2019-12-21
      回复
登录 后发表内容
问题标签