mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Checkbox: uncheckable when inside cell (#2855)
This commit is contained in:
parent
5cb0edbf39
commit
7d5bfffd50
@ -65,7 +65,10 @@ export const CheckboxMixin = (parent, bem) => ({
|
||||
>
|
||||
<div
|
||||
class={bem('icon', [this.shape, { disabled: this.isDisabled, checked }])}
|
||||
onClick={this.onClickIcon}
|
||||
onClick={event => {
|
||||
event.stopPropagation();
|
||||
this.onClickIcon();
|
||||
}}
|
||||
>
|
||||
{CheckIcon}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user