AppMain.vue
514 Bytes
<template>
<section class="app-main">
<transition name="fade-transform" mode="out-in">
<router-view />
</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% - 48px);
overflow-x: auto;
padding: 5px;
box-sizing: border-box;
background-color: #EDF1F7;
box-sizing: border-box;
}
}
</style>