mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[bugfix] Checkbox: uncheckable when inside cell (#2855)
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user