perf: update transition for test
parent
86a90468ba
commit
a8dda5c586
|
@ -44,7 +44,9 @@ if (process.env.NODE_ENV === 'test') {
|
||||||
Transition = (_, { slots }) => {
|
Transition = (_, { slots }) => {
|
||||||
return slots.default?.();
|
return slots.default?.();
|
||||||
};
|
};
|
||||||
|
Transition.inheritAttrs = false;
|
||||||
TransitionGroup = defineComponent({
|
TransitionGroup = defineComponent({
|
||||||
|
inheritAttrs: false,
|
||||||
props: ['tag', 'class'],
|
props: ['tag', 'class'],
|
||||||
setup(props, { slots }) {
|
setup(props, { slots }) {
|
||||||
const { tag: Tag = Fragment, ...rest } = props;
|
const { tag: Tag = Fragment, ...rest } = props;
|
||||||
|
|
Loading…
Reference in New Issue