From 8191562f28c525373941af4638c30c8f8e74c245 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 16 八月 2023 12:12:10 +0800 Subject: [PATCH] bug修复 --- src/components/layout/components/AppMain.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/layout/components/AppMain.vue b/src/components/layout/components/AppMain.vue index 4facd3d..7cdbb3d 100644 --- a/src/components/layout/components/AppMain.vue +++ b/src/components/layout/components/AppMain.vue @@ -1,9 +1,9 @@ <template> <div class="app-main"> <AppHeader :headerTitle="$route.meta.title" /> - <transition> + <div class="app-main-content"> <router-view :key="key" /> - </transition> + </div> </div> </template> @@ -31,5 +31,9 @@ flex-direction: column; // height: 100%; width: 100%; + .app-main-content { + width: 100%; + overflow-y: auto; + } } </style> -- Gitblit v1.8.0