From e684bb715eefb8fcd79a6afcfc3c14e938c726cb Mon Sep 17 00:00:00 2001 From: janrywang Date: Tue, 14 Sep 2021 09:08:26 +0800 Subject: [PATCH] docs(core): add data docs --- packages/core/docs/api/models/Field.md | 1 + packages/core/docs/api/models/Field.zh-CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/core/docs/api/models/Field.md b/packages/core/docs/api/models/Field.md index 1058c4424e9..28d4e9ee7db 100644 --- a/packages/core/docs/api/models/Field.md +++ b/packages/core/docs/api/models/Field.md @@ -50,6 +50,7 @@ All model attributes are listed below. If the attribute is writable, then we can | editable | Field is editable | Boolean | No | `true` | | validateStatus | Field validation status | [FieldValidateStatus](#fieldvalidatestatus) | yes | `null` | | content | Field content, usually as a child node | any | No | `null` | +| data | Field extends properties | Object | No | `null` | | selfErrors | Field own error message | [FieldMessage](#fieldmessage)[] | No | `[]` | | selfWarnings | Field own warning message | [FieldMessage](#fieldmessage)[] | No | `[]` | | selfSuccesses | Success message of the field itself | [FieldMessage](#fieldmessage)[] | No | `[]` | diff --git a/packages/core/docs/api/models/Field.zh-CN.md b/packages/core/docs/api/models/Field.zh-CN.md index d4cb57b341c..b0993c0c16d 100644 --- a/packages/core/docs/api/models/Field.zh-CN.md +++ b/packages/core/docs/api/models/Field.zh-CN.md @@ -50,6 +50,7 @@ order: 1 | editable | 字段是可编辑 | Boolean | 否 | `true` | | validateStatus | 字段校验状态 | [FieldValidateStatus](#fieldvalidatestatus) | 是 | `null` | | content | 字段内容,一般作为子节点 | any | 否 | `null` | +| data | 字段扩展属性 | Object | 否 | `null` | | selfErrors | 字段自身错误消息 | [FieldMessage](#fieldmessage)[] | 否 | `[]` | | selfWarnings | 字段自身警告消息 | [FieldMessage](#fieldmessage)[] | 否 | `[]` | | selfSuccesses | 字段自身成功消息 | [FieldMessage](#fieldmessage)[] | 否 | `[]` |