File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ export default defineComponent({
42
42
forceSubMenuRender,
43
43
motion,
44
44
defaultMotions,
45
- mode,
46
45
} = useInjectMenu ( ) ;
47
46
const forceRender = useInjectForceRender ( ) ;
48
47
const placement = computed ( ( ) =>
@@ -74,7 +73,7 @@ export default defineComponent({
74
73
const style = ref ( { } ) ;
75
74
const className = ref ( '' ) ;
76
75
const mergedMotion = computed ( ( ) => {
77
- const m = motion . value || defaultMotions . value ?. [ mode . value ] || defaultMotions . value ?. other ;
76
+ const m = motion . value || defaultMotions . value ?. [ props . mode ] || defaultMotions . value ?. other ;
78
77
const res = typeof m === 'function' ? m ( style , className ) : m ;
79
78
return res ? getTransitionProps ( res . name , { css : true } ) : undefined ;
80
79
} ) ;
You can’t perform that action at this time.
0 commit comments