From 61c2a875cff02d3b4bb56f9ba0b13b9ec01c911a Mon Sep 17 00:00:00 2001 From: jeffjing Date: Wed, 17 Oct 2018 14:39:32 +0800 Subject: [PATCH 1/2] Update index.en-US.md --- components/checkbox/index.en-US.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/checkbox/index.en-US.md b/components/checkbox/index.en-US.md index c8ff9f2f82..592ea8f00d 100644 --- a/components/checkbox/index.en-US.md +++ b/components/checkbox/index.en-US.md @@ -23,7 +23,7 @@ | -------- | ----------- | ---- | ------- | | defaultValue | Default selected value | string\[] | \[] | | disabled | Disable all checkboxes | boolean | false | -| options | Specifies options | string\[] | \[] | +| options | Specifies options | string\[] \| Array<{ label: string value: string disabled?: boolean }> | \[] | | value | Used for setting the currently selected value. | string\[] | \[] | #### events From 7ca553a75a809986208f6fc9cc21f58ca48a3b7f Mon Sep 17 00:00:00 2001 From: jeffjing Date: Wed, 17 Oct 2018 14:40:02 +0800 Subject: [PATCH 2/2] Update index.zh-CN.md --- components/checkbox/index.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/checkbox/index.zh-CN.md b/components/checkbox/index.zh-CN.md index a607ff90be..aba61cbe2c 100644 --- a/components/checkbox/index.zh-CN.md +++ b/components/checkbox/index.zh-CN.md @@ -25,7 +25,7 @@ | --- | --- | --- | --- | | defaultValue | 默认选中的选项 | string\[] | \[] | | disabled | 整组失效 | boolean | false | -| options | 指定可选项 | string\[] | \[] | +| options | 指定可选项 | string\[] \| Array<{ label: string value: string disabled?: boolean }> | \[] | | value | 指定选中的选项 | string\[] | \[] | | onChange | 变化时回调函数 | Function(checkedValue) | - |