yangfeng
2023-08-16 8191562f28c525373941af4638c30c8f8e74c245
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>