fix: 优化左侧和右侧认证面板动画效果

This commit is contained in:
zoumingjun
2025-10-18 20:52:24 +08:00
parent 2b0079580b
commit 32051e9ca0
3 changed files with 23 additions and 9 deletions

View File

@@ -2,6 +2,10 @@
defineOptions({
name: 'AuthenticationFormView',
});
defineProps<{
dataSide?: 'bottom' | 'left' | 'right' | 'top';
}>();
</script>
<template>
@@ -16,7 +20,8 @@ defineOptions({
<component
:is="Component"
:key="route.fullPath"
class="enter-x mt-6 w-full sm:mx-auto md:max-w-md"
class="side-content mt-6 w-full sm:mx-auto md:max-w-md"
:data-side="dataSide"
/>
</KeepAlive>
</Transition>