mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[bugfix] ContactList: not trigger select event when click radio icon (#3218)
This commit is contained in:
@@ -60,16 +60,13 @@ export const CheckboxMixin = (parent, bem) => ({
|
||||
<div
|
||||
class={bem()}
|
||||
onClick={event => {
|
||||
event.stopPropagation();
|
||||
this.$emit('click', event);
|
||||
}}
|
||||
>
|
||||
<div
|
||||
class={bem('icon', [this.shape, { disabled: this.isDisabled, checked }])}
|
||||
onClick={event => {
|
||||
event.stopPropagation();
|
||||
this.onClickIcon();
|
||||
this.$emit('click', event);
|
||||
}}
|
||||
onClick={this.onClickIcon}
|
||||
>
|
||||
{CheckIcon}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user