<template>
  <div class="flood">
    <keep-alive>
      <router-view v-if="$route.meta.isKeepAlive" />
    </keep-alive>
    <router-view v-if="!$route.meta.isKeepAlive" />
    <FooterNav :arr="$router.options.routes[2].children[2].children" />
  </div>
</template>

<script>
export default {
  name: 'Flood'
}
</script>

<style lang="scss" scoped>
.flood {
  position: absolute;
  left: 0;
  top: 0;
}
</style>
