云开发更新不了数据?
请各位大神帮我看下,我换成set就能添新记录了,updata就更新不了
db.collection(‘receive’).doc(e.currentTarget.dataset._id).update({
data: {
type: false
},
success: console.log,
fail: console.error
})


请各位大神帮我看下,我换成set就能添新记录了,updata就更新不了
db.collection(‘receive’).doc(e.currentTarget.dataset._id).update({
data: {
type: false
},
success: console.log,
fail: console.error
})