From edb8dc4cf4d9af4f87686bacfed3bd8048d0123e Mon Sep 17 00:00:00 2001 From: Xubo Leng Date: Tue, 9 Nov 2021 17:27:59 +0800 Subject: [PATCH 1/2] docs: complete missing prop of checkbox --- components/checkbox/index.en-US.md | 13 +++++++------ components/checkbox/index.zh-CN.md | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/components/checkbox/index.en-US.md b/components/checkbox/index.en-US.md index 97bc195fe8..d4f6a53645 100644 --- a/components/checkbox/index.en-US.md +++ b/components/checkbox/index.en-US.md @@ -18,12 +18,13 @@ Checkbox component. #### Checkbox -| Property | Description | Type | Default | Version | -| ---------------- | ------------------------------------------- | ------- | ------- | ------- | -| autofocus | get focus when component mounted | boolean | false | | -| checked(v-model) | Specifies whether the checkbox is selected. | boolean | false | | -| disabled | Disable checkbox | boolean | false | | -| indeterminate | indeterminate checked state of checkbox | boolean | false | | +| Property | Description | Type | Default | Version | +| --- | --- | --- | --- | --- | +| autofocus | get focus when component mounted | boolean | false | | +| checked(v-model) | Specifies whether the checkbox is selected. | boolean | false | | +| disabled | Disable checkbox | boolean | false | | +| indeterminate | indeterminate checked state of checkbox | boolean | false | | +| value | value of checkbox in CheckboxGroup | boolean \| string \| number | - | | #### events diff --git a/components/checkbox/index.zh-CN.md b/components/checkbox/index.zh-CN.md index 00070a0bd2..03c1cc9b32 100644 --- a/components/checkbox/index.zh-CN.md +++ b/components/checkbox/index.zh-CN.md @@ -19,12 +19,13 @@ cover: https://gw.alipayobjects.com/zos/alicdn/8nbVbHEm_/CheckBox.svg #### Checkbox -| 参数 | 说明 | 类型 | 默认值 | 版本 | -| ---------------- | --------------------------------------- | ------- | ------ | ---- | -| autofocus | 自动获取焦点 | boolean | false | | -| checked(v-model) | 指定当前是否选中 | boolean | false | | -| disabled | 失效状态 | boolean | false | | -| indeterminate | 设置 indeterminate 状态,只负责样式控制 | boolean | false | | +| 参数 | 说明 | 类型 | 默认值 | 版本 | +| --- | --- | --- | --- | --- | +| autofocus | 自动获取焦点 | boolean | false | | +| checked(v-model) | 指定当前是否选中 | boolean | false | | +| disabled | 失效状态 | boolean | false | | +| indeterminate | 设置 indeterminate 状态,只负责样式控制 | boolean | false | | +| value | 与 CheckboxGroup 组合使用时的值 | boolean \| string \| number | - | | #### 事件 From 74d639e2a37fc9351a52780419ef3efead483bfa Mon Sep 17 00:00:00 2001 From: Xubo Leng Date: Tue, 9 Nov 2021 17:27:59 +0800 Subject: [PATCH 2/2] docs: complete missing prop of checkbox --- components/checkbox/index.en-US.md | 14 +++++++------- components/checkbox/index.zh-CN.md | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/components/checkbox/index.en-US.md b/components/checkbox/index.en-US.md index d4f6a53645..099ecc575e 100644 --- a/components/checkbox/index.en-US.md +++ b/components/checkbox/index.en-US.md @@ -18,13 +18,13 @@ Checkbox component. #### Checkbox -| Property | Description | Type | Default | Version | -| --- | --- | --- | --- | --- | -| autofocus | get focus when component mounted | boolean | false | | -| checked(v-model) | Specifies whether the checkbox is selected. | boolean | false | | -| disabled | Disable checkbox | boolean | false | | -| indeterminate | indeterminate checked state of checkbox | boolean | false | | -| value | value of checkbox in CheckboxGroup | boolean \| string \| number | - | | +| Property | Description | Type | Default | Version | +| ---------------- | ------------------------------------------- | ------- | ------- | ------- | +| autofocus | get focus when component mounted | boolean | false | | +| checked(v-model) | Specifies whether the checkbox is selected. | boolean | false | | +| disabled | Disable checkbox | boolean | false | | +| indeterminate | indeterminate checked state of checkbox | boolean | false | | +| value | value of checkbox in CheckboxGroup | boolean \| string \| number | - | | #### events diff --git a/components/checkbox/index.zh-CN.md b/components/checkbox/index.zh-CN.md index 03c1cc9b32..0a0109cfa7 100644 --- a/components/checkbox/index.zh-CN.md +++ b/components/checkbox/index.zh-CN.md @@ -19,13 +19,13 @@ cover: https://gw.alipayobjects.com/zos/alicdn/8nbVbHEm_/CheckBox.svg #### Checkbox -| 参数 | 说明 | 类型 | 默认值 | 版本 | -| --- | --- | --- | --- | --- | -| autofocus | 自动获取焦点 | boolean | false | | -| checked(v-model) | 指定当前是否选中 | boolean | false | | -| disabled | 失效状态 | boolean | false | | -| indeterminate | 设置 indeterminate 状态,只负责样式控制 | boolean | false | | -| value | 与 CheckboxGroup 组合使用时的值 | boolean \| string \| number | - | | +| 参数 | 说明 | 类型 | 默认值 | 版本 | +| ---------------- | --------------------------------------- | ------- | ------ | ---- | +| autofocus | 自动获取焦点 | boolean | false | | +| checked(v-model) | 指定当前是否选中 | boolean | false | | +| disabled | 失效状态 | boolean | false | | +| indeterminate | 设置 indeterminate 状态,只负责样式控制 | boolean | false | | +| value | 与 CheckboxGroup 组合使用时的值 | boolean \| string \| number | - | | #### 事件