fix(menu): pass motion name to collapseMotion (#7130)

feat-4.1
Konv Suu 2023-12-18 11:31:57 +08:00 committed by GitHub
parent b989cf2d97
commit afcff32fcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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` },
}));