This commit is contained in:
Elune
2020-02-10 14:36:42 +08:00
parent c13ed6248b
commit f865216cb4
3 changed files with 9 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
<template>
<section class="app-main">
<CodeFund />
<transition name="fade-transform" mode="out-in">
<keep-alive :include="cachedViews">
<router-view :key="key" />
@@ -14,8 +15,12 @@
</template>
<script>
import CodeFund from '@/components/CodeFund'
export default {
name: 'AppMain',
components: {
CodeFund
},
computed: {
cachedViews() {
return this.$store.state.tagsView.cachedViews