优化查询

This commit is contained in:
Elune
2020-02-10 14:58:02 +08:00
parent f865216cb4
commit 3e8236a4ac
2 changed files with 7 additions and 5 deletions

View File

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