From 3d2b2519faa170d40e6134fe0d9ef0e1ca9b1bb4 Mon Sep 17 00:00:00 2001 From: dolymood Date: Thu, 26 Sep 2019 16:21:49 +0800 Subject: [PATCH] docs(checker): add disabled option --- document/components/docs/en-US/checker.md | 6 +++--- document/components/docs/zh-CN/checker.md | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/document/components/docs/en-US/checker.md b/document/components/docs/en-US/checker.md index 4475daf6..f2e17529 100644 --- a/document/components/docs/en-US/checker.md +++ b/document/components/docs/en-US/checker.md @@ -128,7 +128,7 @@ Checker is more flexible selection component, you can alse customize the layout. data() { return { checkerList: [3], - option: [ + options: [ { value: 1, text: 'red' @@ -167,7 +167,7 @@ Checker is more flexible selection component, you can alse customize the layout. data() { return { checkerList: [2], - option: [ + options: [ { value: 1, text: 'first', @@ -188,7 +188,6 @@ Checker is more flexible selection component, you can alse customize the layout. } ``` - ### Props configuration | Attribute | Description | Type | Accepted Values | Default | @@ -218,3 +217,4 @@ Checker is more flexible selection component, you can alse customize the layout. | - | - | - | | value | the value of checker item | String/Number | | text | the text of checker item | String | +| disabled1.12.19 | disabled state of checker item | Boolean | diff --git a/document/components/docs/zh-CN/checker.md b/document/components/docs/zh-CN/checker.md index 02cc5e12..c37f8c26 100644 --- a/document/components/docs/zh-CN/checker.md +++ b/document/components/docs/zh-CN/checker.md @@ -129,7 +129,7 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 data() { return { checkerList: [3], - option: [ + options: [ { value: 1, text: 'red' @@ -167,7 +167,7 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 data() { return { checkerList: [2], - option: [ + options: [ { value: 1, text: 'first', @@ -188,8 +188,6 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 } ``` - - ### Props 配置 | 参数 | 说明 | 类型 | 可选值 | 默认值 | @@ -219,3 +217,4 @@ Checker 是更加灵活的选择组件,可以自定义需要的布局样式。 | - | - | - | | value | 选项的值 | String/Number | | text | 选项的文本 | String | +| disabled1.12.19 | 选项是否被禁用 | Boolean | -- GitLab