docs: update slot scopes for form and update veui (#21)
Co-authored-by: GU Yiling <justice360@gmail.com>
This commit is contained in:
@@ -75,8 +75,20 @@
|
||||
|
||||
| 名称 | 描述 |
|
||||
| -- | -- |
|
||||
| ``default`` | 可直接内联 `Fieldset` 或 `Field` 组件。无默认内容。 |
|
||||
| ``actions`` | 表单操作内容,如“提交”、“取消”按钮等。无默认内容。 |
|
||||
| ``default`` | [^slot-default] |
|
||||
| ``actions`` | 表单操作内容,如“提交”、“取消”按钮等。无默认内容。作用域参数与 [`default`](#slots-default) 插槽相同。 |
|
||||
|
||||
^^^slot-default
|
||||
可直接内联 `Fieldset` 或 `Field` 组件。无默认内容。
|
||||
|
||||
+++作用域参数
|
||||
| 名称 | 类型 | 描述 |
|
||||
| -- | -- | -- |
|
||||
| `submit` | `() => void` | 触发表单提交。 |
|
||||
| `validating` | `boolean` | 是否正在执行表单校验。 |
|
||||
+++
|
||||
^^^
|
||||
|
||||
|
||||
### 事件
|
||||
|
||||
|
Reference in New Issue
Block a user