提交 3d2b2519 编写于 作者: D dolymood

docs(checker): add disabled option

上级 2b5b0349
...@@ -128,7 +128,7 @@ Checker is more flexible selection component, you can alse customize the layout. ...@@ -128,7 +128,7 @@ Checker is more flexible selection component, you can alse customize the layout.
data() { data() {
return { return {
checkerList: [3], checkerList: [3],
option: [ options: [
{ {
value: 1, value: 1,
text: 'red' text: 'red'
...@@ -167,7 +167,7 @@ Checker is more flexible selection component, you can alse customize the layout. ...@@ -167,7 +167,7 @@ Checker is more flexible selection component, you can alse customize the layout.
data() { data() {
return { return {
checkerList: [2], checkerList: [2],
option: [ options: [
{ {
value: 1, value: 1,
text: 'first', text: 'first',
...@@ -188,7 +188,6 @@ Checker is more flexible selection component, you can alse customize the layout. ...@@ -188,7 +188,6 @@ Checker is more flexible selection component, you can alse customize the layout.
} }
``` ```
### Props configuration ### Props configuration
| Attribute | Description | Type | Accepted Values | Default | | Attribute | Description | Type | Accepted Values | Default |
...@@ -218,3 +217,4 @@ Checker is more flexible selection component, you can alse customize the layout. ...@@ -218,3 +217,4 @@ Checker is more flexible selection component, you can alse customize the layout.
| - | - | - | | - | - | - |
| value | the value of checker item | String/Number | | value | the value of checker item | String/Number |
| text | the text of checker item | String | | text | the text of checker item | String |
| disabled<sup>1.12.19</sup> | disabled state of checker item | Boolean |
...@@ -129,7 +129,7 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 ...@@ -129,7 +129,7 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。
data() { data() {
return { return {
checkerList: [3], checkerList: [3],
option: [ options: [
{ {
value: 1, value: 1,
text: 'red' text: 'red'
...@@ -167,7 +167,7 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 ...@@ -167,7 +167,7 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。
data() { data() {
return { return {
checkerList: [2], checkerList: [2],
option: [ options: [
{ {
value: 1, value: 1,
text: 'first', text: 'first',
...@@ -188,8 +188,6 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 ...@@ -188,8 +188,6 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。
} }
``` ```
### Props 配置 ### Props 配置
| 参数 | 说明 | 类型 | 可选值 | 默认值 | | 参数 | 说明 | 类型 | 可选值 | 默认值 |
...@@ -219,3 +217,4 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 ...@@ -219,3 +217,4 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。
| - | - | - | | - | - | - |
| value | 选项的值 | String/Number | | value | 选项的值 | String/Number |
| text | 选项的文本 | String | | text | 选项的文本 | String |
| disabled<sup>1.12.19</sup> | 选项是否被禁用 | Boolean |
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册