src/components/layout/components/AppMain.vue
@@ -1,7 +1,9 @@ <template> <div class="app-main"> <AppHeader :headerTitle="$route.meta.title" /> <router-view :key="key" /> <div class="app-main-content"> <router-view :key="key" /> </div> </div> </template> @@ -29,5 +31,9 @@ flex-direction: column; // height: 100%; width: 100%; .app-main-content { width: 100%; overflow-y: auto; } } </style>