摘要:
db.collection('todos').doc('todo-identifiant-aleatoire').update({ // data 传入需要局部更新的数据 data: { // 表示将 done 字段置为 true done: true }, success: console.log 阅读全文
摘要:
db.collection('cheshi').add({ data: { cheshi:4, } }).then((res) => { console.log(res) }) 阅读全文