Skip to content

Commit

Permalink
fix(docs): fix docs without display property description (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang authored Jul 17, 2019
1 parent 3533a82 commit 24d12be
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 28 deletions.
1 change: 1 addition & 0 deletions docs/API/createAsyncFormActions.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ interface IFieldState<V = any>{
valid : boolean //字段是否合法
invalid : boolean //字段是否非法
visible : boolean //字段显示状态
display : boolean //字段UI展示状态,与visible的差别是,visible会删值,display不会删值
editable : boolean //字段是否可编辑
loading : boolean //字段加载状态
errors : string[] //字段错误消息集合
Expand Down
29 changes: 15 additions & 14 deletions docs/API/createForm.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,20 +130,21 @@ interface IFormState<V> {
用于描述表单字段状态的模型对象

```typescript
interface IFieldState<V> {
value: V //字段值
valid: boolean //字段是否合法
invalid: boolean //字段是否非法
visible: boolean //字段显示状态
editable: boolean //字段是否可编辑
loading: boolean //字段加载状态
errors: string[] //字段错误消息集合
pristine: boolean //字段是否处于原始态
initialValue: V //字段初始值
name: string //字段路径
path: string[] //字段路径,数组形式
props: ISchema //字段附加属性
rules: IRuleDescription[] //字段校验规则
interface IFieldState<V = any>{
value : V //字段值
valid : boolean //字段是否合法
invalid : boolean //字段是否非法
visible : boolean //字段显示状态
display : boolean //字段UI展示状态,与visible的差别是,visible会删值,display不会删值
editable : boolean //字段是否可编辑
loading : boolean //字段加载状态
errors : string[] //字段错误消息集合
pristine : boolean //字段是否处于原始态
initialValue: V //字段初始值
name : string //字段路径
path : string[] //字段路径,数组形式
props : ISchema //字段附加属性
rules : IRuleDescription[] //字段校验规则
}
```

Expand Down
29 changes: 15 additions & 14 deletions docs/API/createFormActions.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,21 @@ interface IFormState<V> {
用于描述表单字段状态的模型对象

```typescript
interface IFieldState<V = any> {
value: V //字段值
valid: boolean //字段是否合法
invalid: boolean //字段是否非法
visible: boolean //字段显示状态
editable: boolean //字段是否可编辑
loading: boolean //字段加载状态
errors: string[] //字段错误消息集合
pristine: boolean //字段是否处于原始态
initialValue: V //字段初始值
name: string //字段路径
path: string[] //字段路径,数组形式
props: ISchema //字段附加属性
rules: IRuleDescription[] //字段校验规则
interface IFieldState<V = any>{
value : V //字段值
valid : boolean //字段是否合法
invalid : boolean //字段是否非法
visible : boolean //字段显示状态
display : boolean //字段UI展示状态,与visible的差别是,visible会删值,display不会删值
editable : boolean //字段是否可编辑
loading : boolean //字段加载状态
errors : string[] //字段错误消息集合
pristine : boolean //字段是否处于原始态
initialValue: V //字段初始值
name : string //字段路径
path : string[] //字段路径,数组形式
props : ISchema //字段附加属性
rules : IRuleDescription[] //字段校验规则
}
```

Expand Down

0 comments on commit 24d12be

Please sign in to comment.