AppMain.vue
701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 15:00:14
-->
<template>
<section class="app-main">
<transition name="fade-transform" mode="out-in">
<keep-alive :exclude="['home','ywsq']">
<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>