mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(AddressList): input event triggered twice (#4659)
This commit is contained in:
parent
17b7517285
commit
f91e6b42a0
@ -63,14 +63,7 @@ function AddressList(
|
||||
return (
|
||||
<div class={bem()} {...inherit(ctx)}>
|
||||
{slots.top && slots.top()}
|
||||
<RadioGroup
|
||||
value={props.value}
|
||||
onInput={(event: Event) => {
|
||||
emit(ctx, 'input', event);
|
||||
}}
|
||||
>
|
||||
{List}
|
||||
</RadioGroup>
|
||||
<RadioGroup value={props.value}>{List}</RadioGroup>
|
||||
{props.disabledText && <div class={bem('disabled-text')}>{props.disabledText}</div>}
|
||||
{DisabledList}
|
||||
{slots.default && slots.default()}
|
||||
|
Loading…
x
Reference in New Issue
Block a user