Skip to content

Commit

Permalink
docs(json-schema): update json-schema docs
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Jun 23, 2021
1 parent c9e12f5 commit d669fd9
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 55 deletions.
4 changes: 2 additions & 2 deletions packages/react/docs/api/shared/Schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,9 @@ type SchemaReactionEffect =

type SchemaReaction<Field = any> =
| {
dependencies?: string[] | Record<string, string> //依赖的字段路径列表,只能以点路径描述依赖,如果是数组格式,那么读的时候也是数组格式,如果是对象格式,读的时候也是对象格式,只是对象格式相当于是一个alias
dependencies?: string[] | Record<string, string> //依赖的字段路径列表,只能以点路径描述依赖,支持相对路径,如果是数组格式,那么读的时候也是数组格式,如果是对象格式,读的时候也是对象格式,只是对象格式相当于是一个alias
when?: string | boolean //联动条件
target?: string //要操作的字段路径,支持FormPathPattern路径语法
target?: string //要操作的字段路径,支持FormPathPattern路径语法,注意:不支持相对路径!!
effects?: SchemaReactionEffect[] //主动模式下的独立生命周期钩子
fulfill?: {
//满足条件
Expand Down
Loading

0 comments on commit d669fd9

Please sign in to comment.