mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
fix(AddressList): bottom slot not work
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user