Skip to content

Commit bb71fe1

Browse files
committed
fix(Form): 修正文档表格格式错乱的问题
1 parent c079d26 commit bb71fe1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/component/form/form.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -512,14 +512,14 @@ data: {
512512

513513
## 表单容器组件属性
514514

515-
| 参数 | 说明 | 类型 | 可选值 | 默认值 | 版本号 |
516-
| :--- | :--- | :--- | :----- | :----- | ------ ||
515+
| 参数 | 说明 | 类型 | 可选值 | 默认值 | 版本号 |
516+
| :----------------- | :------------- | :------ | :--------- | :----- | ------ |
517517
| name | 表单的name | String | --- | --- | --- |
518518
| is-submit-validate | 提交时是否校验 | Boolean | true/false | true | --- |
519519

520520
## 表单容器组件外部样式类
521-
| 外部样式类名 | 说明 | 备注 | 版本号 |
522-
| :----------- | :--- | ---- | :----- ||
521+
| 外部样式类名 | 说明 | 备注 | 版本号 |
522+
| :--------------------- | :------------------- | ---- | :----- |
523523
| l-form-container-class | form的外部样式类 | --- | --- |
524524
| l-form-btn-class | 按钮容器的外部样式类 | --- | --- |
525525
| l-form-submit-class | 提交按钮的外部样式类 | --- | --- |
@@ -528,17 +528,17 @@ data: {
528528

529529
## 表单容器组件事件
530530

531-
| 事件名称 | 说明 | 返回值 | 备注 | 版本号 |
532-
| :------- | :--- | :----- | :--- | ------ ||
531+
| 事件名称 | 说明 | 返回值 | 备注 | 版本号 |
532+
| :------------- | :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------- | :--- | ------ |
533533
| bind:linsubmit | 点击提交按钮时触发 | 点击提交时触发 `linsubmit` 事件,event.detail = {values: 整个表单项的value, errors: 表单内各字段的校验结果,isValidate: 表单是否验证通过} | - | --- |
534534
| bind:linreset | 点击重置按钮时触发 | -- | - | - |
535535

536536

537537

538538
## 表单项组件属性
539539

540-
| 参数 | 说明 | 类型 | 可选值 | 默认值 | 版本号 |
541-
| :--- | :--- | :--- | :----- | ------ | :----- ||
540+
| 参数 | 说明 | 类型 | 可选值 | 默认值 | 版本号 |
541+
| :-------------- | :------------------- | :----------- | :----------------- | ------ | :----- |
542542
| label | form-item 的文字内容 | String | -- | -- | -- |
543543
| label-placement | 文字内容所在区域 | String | row/column | row | -- |
544544
| align-items | 文字对齐方式 | String | start/end/center | start | -- |
@@ -550,8 +550,8 @@ data: {
550550

551551

552552
## 表单项组件外部样式类
553-
| 外部样式类名 | 说明 | 备注 | 版本号 |
554-
| :----------- | :--- | ---- | :----- ||
553+
| 外部样式类名 | 说明 | 备注 | 版本号 |
554+
| :------------------- | :-------------------------------- | -------------------------- | :----- |
555555
| l-form-item-class | form-item的外部样式类 | | -- |
556556
| l-form-label-class | form-item文字区域的外部样式类 | | -- |
557557
| l-form-content-class | form-item内容区域的外部样式类 | | -- |

0 commit comments

Comments
 (0)