diff --git a/yudao-ui-admin/src/assets/styles/transition.scss b/yudao-ui-admin/src/assets/styles/transition.scss
index 4cb27cc81..eb4989554 100644
--- a/yudao-ui-admin/src/assets/styles/transition.scss
+++ b/yudao-ui-admin/src/assets/styles/transition.scss
@@ -12,11 +12,16 @@
}
/* fade-transform */
+.fade-transform--move,
.fade-transform-leave-active,
.fade-transform-enter-active {
transition: all .5s;
}
+.fade-transform-leave-active {
+ position: absolute;
+}
+
.fade-transform-enter {
opacity: 0;
transform: translateX(-30px);
diff --git a/yudao-ui-admin/src/layout/components/AppMain.vue b/yudao-ui-admin/src/layout/components/AppMain.vue
index a89763806..f4e74dbdb 100644
--- a/yudao-ui-admin/src/layout/components/AppMain.vue
+++ b/yudao-ui-admin/src/layout/components/AppMain.vue
@@ -2,15 +2,19 @@