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({
4242 forceSubMenuRender,
4343 motion,
4444 defaultMotions,
45- mode,
4645 } = useInjectMenu ( ) ;
4746 const forceRender = useInjectForceRender ( ) ;
4847 const placement = computed ( ( ) =>
@@ -74,7 +73,7 @@ export default defineComponent({
7473 const style = ref ( { } ) ;
7574 const className = ref ( '' ) ;
7675 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 ;
7877 const res = typeof m === 'function' ? m ( style , className ) : m ;
7978 return res ? getTransitionProps ( res . name , { css : true } ) : undefined ;
8079 } ) ;
You can’t perform that action at this time.
0 commit comments