docs: update slot scopes for form and update veui (#21)

Co-authored-by: GU Yiling <justice360@gmail.com>
This commit is contained in:
xdm
2022-01-26 09:56:35 +08:00
committed by GitHub
parent 17a9801fc6
commit ec8316f743
3 changed files with 58 additions and 46 deletions

View File

@@ -75,8 +75,20 @@
| 名称 | 描述 |
| -- | -- |
| ``default`` | 可直接内联 `Fieldset` 或 `Field` 组件。无默认内容。 |
| ``actions`` | 表单操作内容,如“提交”、“取消”按钮等。无默认内容。 |
| ``default`` | [^slot-default] |
| ``actions`` | 表单操作内容,如“提交”、“取消”按钮等。无默认内容。作用域参数与 [`default`](#slots-default) 插槽相同。 |
^^^slot-default
可直接内联 `Fieldset` 或 `Field` 组件。无默认内容。
+++作用域参数
| 名称 | 类型 | 描述 |
| -- | -- | -- |
| `submit` | `() => void` | 触发表单提交。 |
| `validating` | `boolean` | 是否正在执行表单校验。 |
+++
^^^
### 事件