Blame view

src/layout/components/AppMain.vue 701 Bytes
1 2 3
<!--
 * @Description: 
 * @Autor: renchao
4
 * @LastEditTime: 2023-07-24 15:00:14
5
-->
赵千 committed
6 7 8
<template>
  <section class="app-main">
    <transition name="fade-transform" mode="out-in">
9
      <keep-alive :exclude="['home','ywsq']">
10 11
        <router-view />
      </keep-alive>
赵千 committed
12 13 14 15
    </transition>
  </section>
</template>
<script>
16 17 18 19 20 21
  export default {
    name: 'AppMain',
    computed: {
      key () {
        return this.$route.path
      },
赵千 committed
22
    },
23
  }
赵千 committed
24 25 26
</script>

<style lang="scss" scoped>
27 28 29 30 31 32 33 34 35
  .hasTagsView {
    .app-main {
      height: calc(100% - 50px);
      overflow-x: auto;
      padding: 5px;
      box-sizing: border-box;
      background-color: #edf1f7;
      box-sizing: border-box;
    }
赵千 committed
36 37
  }
</style>