提交 7106e341 编写于 作者: D DCloud_LXH

chore: docs

上级 2118c282
...@@ -1115,7 +1115,7 @@ let res = await db.collection('todos').doc('doc-id').update({ ...@@ -1115,7 +1115,7 @@ let res = await db.collection('todos').doc('doc-id').update({
假设有字段 `cities` 数组中的元素结构如下 假设有字段 `cities` 数组中的元素结构如下
```json ```js
{ {
"name": string "name": string
"places": Place[] "places": Place[]
...@@ -1124,7 +1124,7 @@ let res = await db.collection('todos').doc('doc-id').update({ ...@@ -1124,7 +1124,7 @@ let res = await db.collection('todos').doc('doc-id').update({
`Place` 结构如下: `Place` 结构如下:
```json ```js
{ {
"type": string "type": string
"area": number "area": number
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册