docs(checkbox): fix default in props (#245)

* Update index.demo-entry.md

* Update index.demo-entry.md
This commit is contained in:
xrkffgg 2021-06-22 22:48:11 +08:00 committed by GitHub
parent 4316282619
commit 2e5b988dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ event
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| checked | `boolean` | `undefined` | Whether it is selected in the controlled mode. |
| checked | `boolean` | `false` | Whether it is selected in the controlled mode. |
| indeterminate | `boolean` | `false` | Whether partly selected. |
| default-checked | `boolean` | `false` | Whether selected by default in uncontrolled mode. |
| disabled | `boolean` | `false` | Whether to disable. |

View File

@ -19,7 +19,7 @@ event
| 名称 | 类型 | 默认值 | 说明 |
| --- | --- | --- | --- |
| checked | `boolean` | `undefined` | 受控状态下是否选中 |
| checked | `boolean` | `false` | 受控状态下是否选中 |
| indeterminate | `boolean` | `false` | 是否部分选中 |
| default-checked | `boolean` | `false` | 非受控模式下默认是否选中 |
| disabled | `boolean` | `false` | 是否禁用 |