fix(AddressList): bottom slot not work

This commit is contained in:
chenjiahan 2020-08-18 17:56:26 +08:00
parent 966fb5f46a
commit d9e0e753f1

View File

@ -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);