docs(checkbox): delete the VNodeChild attribute of label (#591)

* docs(checkbox): delete the VNodeChil attribute of label

* Update src/checkbox/demos/zhCN/index.demo-entry.md

* Update src/checkbox/demos/zhCN/index.demo-entry.md

Co-authored-by: gang.yang <gang.yang@tusimple.ai>
Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>
This commit is contained in:
gangG 2021-07-23 00:12:07 +08:00 committed by GitHub
parent 73d0fd20ab
commit 8edc84e8b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ event
| disabled | `boolean` | `false` | Whether to disable. |
| focusable | `boolean` | `true` | Whether to focus on selection. |
| indeterminate | `boolean` | `false` | Whether partly selected. |
| label | `string \| (() => VNodeChild)` | `undefined` | Checkbox label. |
| label | `string` | `undefined` | Checkbox label. |
| value | `string \| number` | `undefined` | The value of the checkbox to be used in checkbox group. |
| on-update:checked | `(checked: boolean) => void` | `undefined` | Callback function triggered on checked status changes. |

View File

@ -24,7 +24,7 @@ event
| disabled | `boolean` | `false` | 是否禁用 |
| focusable | `boolean` | `true` | 是否可被 focus |
| indeterminate | `boolean` | `false` | 是否部分选中 |
| label | `string \| (() => VNodeChild)` | `undefined` | Checkbox 的标签 |
| label | `string` | `undefined` | Checkbox 的标签 |
| value | `string \| number` | `undefined` | Checkbox 在 checkbox group 中使用的值 |
| on-update:checked | `(checked: boolean) => void` | `undefined` | 当 checked 改变时触发的回调函数 |