[bugfix] Checkbox: click event untriggered when click icon (#2990)

This commit is contained in:
neverland
2019-03-18 19:31:23 +08:00
committed by GitHub
parent ad25616b05
commit 7b0a3319ba
6 changed files with 36 additions and 6 deletions
+6 -1
View File
@@ -99,7 +99,6 @@ export default {
| label-position | Can be set to `left` | `String` | `right` |
| checked-color | Checked color | `String` | `#1989fa` | - |
### RadioGroup API
| Attribute | Description | Type | Default |
@@ -107,6 +106,12 @@ export default {
| v-model | Name of checked radio | `any` | - |
| disabled | Diable all radios | `Boolean` | `false` |
### Radio Event
| Event | Description | Parameters |
|------|------|------|
| click | Triggered when click radio | event: Event |
### RadioGroup Event
| Event | Description | Parameters |
+6
View File
@@ -110,6 +110,12 @@ export default {
| v-model | 当前选中项的标识符 | 任意类型 | - | - |
| disabled | 是否禁用所有单选框 | `Boolean` | `false` | - |
### Radio Event
| 事件名称 | 说明 | 回调参数 |
|------|------|------|
| click | 点击单选框时触发 | event: Event |
### RadioGroup Event
| 事件名称 | 说明 | 回调参数 |