mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +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
|
<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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user