AppMain.vue 859 Bytes
<!--
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-07-24 14:10:29
-->
<template>
  <section class="app-main">
    <transition name="fade-transform" mode="out-in">
      <keep-alive :include="['dbx', 'ybx','jtfc', 'dydjb', 'sqcxjl', 'jdcx','djbcx',
      'lpcx','zslqcx', 'zxgcdycx', 'zsrk', 'zsff','zssyjl','dictionaries', 'sqywgz', 'qtjfjmb',
      'xttz','flfg']">
        <router-view />
      </keep-alive>
    </transition>
  </section>
</template>
<script>
  export default {
    name: 'AppMain',
    computed: {
      key () {
        return this.$route.path
      },
    },
  }
</script>

<style lang="scss" scoped>
  .hasTagsView {
    .app-main {
      height: calc(100% - 50px);
      overflow-x: auto;
      padding: 5px;
      box-sizing: border-box;
      background-color: #edf1f7;
      box-sizing: border-box;
    }
  }
</style>