db.command.removedb.command.remove更新指令。用于表示删除某个字段。 函数签名: function remove(): Command 示例代码 删除 style 字段: const _ = db.commanddb.collection('todos').doc('todo-id').update({ data: { style: _.remove() }}) 原文: https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-client-api/database/command.remove.html