mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(AddressList): bottom slot not work
This commit is contained in:
parent
966fb5f46a
commit
d9e0e753f1
@ -41,14 +41,14 @@ export default createComponent({
|
||||
|
||||
return list.map((item, index) => (
|
||||
<AddressItem
|
||||
v-slots={{
|
||||
bottom: slots['item-bottom'],
|
||||
}}
|
||||
data={item}
|
||||
key={item.id}
|
||||
disabled={disabled}
|
||||
switchable={props.switchable}
|
||||
defaultTagText={props.defaultTagText}
|
||||
scopedSlots={{
|
||||
bottom: slots['item-bottom'],
|
||||
}}
|
||||
onSelect={() => {
|
||||
emit(disabled ? 'select-disabled' : 'select', item, index);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user