From c35b9241b0452c7a04035191a50c58085865a310 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期一, 18 九月 2023 16:13:15 +0800 Subject: [PATCH] 搜索是过滤空格 --- 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