为什么提示_.pull is not a function?

发布于 8 年前作者 uzou2498 次浏览最后编辑 8 年前来自 ask
const _ = db.command
db.collection('reply').doc(id).update({
  data: {
   thumbUp: _.pull(this.data.openid)
  }
})

为什么提示TypeError: _.pull is not a function

1 回复
xiulan84
xiulan841 楼6 年前

已解决,开发者工具右上角详情-本地设置-调试基础库选版本