diff --git a/docs/uniCloud/cf-database-dbcmd.md b/docs/uniCloud/cf-database-dbcmd.md index 9fdc25c56cdc78e7e63a9d6e27cce13ba1333086..cccad2deec831ae94e44867cda8c0e051af886cc 100644 --- a/docs/uniCloud/cf-database-dbcmd.md +++ b/docs/uniCloud/cf-database-dbcmd.md @@ -1115,7 +1115,7 @@ let res = await db.collection('todos').doc('doc-id').update({ 假设有字段 `cities` 数组中的元素结构如下 -```json +```js { "name": string "places": Place[] @@ -1124,7 +1124,7 @@ let res = await db.collection('todos').doc('doc-id').update({ `Place` 结构如下: -```json +```js { "type": string "area": number