mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[bugfix] Checkbox: uncheckable when inside cell (#2855)
This commit is contained in:
@@ -65,7 +65,10 @@ export const CheckboxMixin = (parent, bem) => ({
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class={bem('icon', [this.shape, { disabled: this.isDisabled, checked }])}
|
class={bem('icon', [this.shape, { disabled: this.isDisabled, checked }])}
|
||||||
onClick={this.onClickIcon}
|
onClick={event => {
|
||||||
|
event.stopPropagation();
|
||||||
|
this.onClickIcon();
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{CheckIcon}
|
{CheckIcon}
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user