Blame view

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

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