FIX
This commit is contained in:
parent
9825d7ce87
commit
eaaccb52da
1 changed files with 8 additions and 11 deletions
|
@ -101,23 +101,20 @@ export default defineComponent({
|
||||||
|
|
||||||
return () => h(
|
return () => h(
|
||||||
defaultStore.state.animation ? TransitionGroup : 'div',
|
defaultStore.state.animation ? TransitionGroup : 'div',
|
||||||
defaultStore.state.animation ? {
|
{
|
||||||
class: {
|
class: {
|
||||||
'sqadhkmv': true,
|
'sqadhkmv': true,
|
||||||
'noGap': props.noGap
|
'noGap': props.noGap
|
||||||
},
|
},
|
||||||
name: 'list',
|
|
||||||
tag: 'div',
|
|
||||||
'data-direction': props.direction,
|
'data-direction': props.direction,
|
||||||
'data-reversed': props.reversed ? 'true' : 'false',
|
'data-reversed': props.reversed ? 'true' : 'false',
|
||||||
onBeforeLeave,
|
...(defaultStore.state.animation ? {
|
||||||
onLeaveCanceled,
|
name: 'list',
|
||||||
} : {
|
tag: 'div',
|
||||||
class: {
|
onBeforeLeave,
|
||||||
'sqadhkmv': true,
|
onLeaveCanceled,
|
||||||
'noGap': props.noGap
|
} : {}),
|
||||||
},
|
},
|
||||||
},
|
|
||||||
{ default: renderChildren });
|
{ default: renderChildren });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue