fix(menu): pass motion name to collapseMotion (#7130)
parent
b989cf2d97
commit
afcff32fcc
|
@ -341,7 +341,7 @@ export default defineComponent({
|
|||
const rootPrefixCls = computed(() => getPrefixCls());
|
||||
const defaultMotions = computed(() => ({
|
||||
horizontal: { name: `${rootPrefixCls.value}-slide-up` },
|
||||
inline: collapseMotion,
|
||||
inline: collapseMotion(`${rootPrefixCls.value}-motion-collapse`),
|
||||
other: { name: `${rootPrefixCls.value}-zoom-big` },
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue