Skip to content

Commit

Permalink
docs(core): fix typo (#2582)
Browse files Browse the repository at this point in the history
  • Loading branch information
LesterWeng authored Dec 7, 2021
1 parent 9862847 commit 5befbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/docs/guide/concept.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Markup Schema 模式主要有以下几个特点:

- 主要依赖 SchemaField.String/SchemaField.Array/SchemaField.Object...这类描述标签来表达 Schema
- 每个描述标签都代表一个 Schema 节点,与 JSON-Schema 等价
- SchemaField 子节点不能随意插 UI 元素,因为 SchemaField 只会解析子节点的所有 Schema 描述标签,然后转换成 JSON Schema,最终交给[RecursionField](/api/components/recursion-field)渲染,如果想要插入 UI 元素,可以在 VoidDield 上传`x-content`属性来插入 UI 元素
- SchemaField 子节点不能随意插 UI 元素,因为 SchemaField 只会解析子节点的所有 Schema 描述标签,然后转换成 JSON Schema,最终交给[RecursionField](/api/components/recursion-field)渲染,如果想要插入 UI 元素,可以在 VoidField 上传`x-content`属性来插入 UI 元素

```tsx
import React from 'react'
Expand Down

0 comments on commit 5befbad

Please sign in to comment.