Commit 1a04d8b4 by dqjdda

2.2版本发布,详情查阅版本说明

parent 15fa7d2c
<template> <template>
<section class="app-main"> <section class="app-main">
<CodeFund />
<transition name="fade-transform" mode="out-in"> <transition name="fade-transform" mode="out-in">
<keep-alive :include="cachedViews"> <keep-alive :include="cachedViews">
<router-view :key="key"/> <router-view :key="key"/>
...@@ -15,12 +14,8 @@ ...@@ -15,12 +14,8 @@
</template> </template>
<script> <script>
import CodeFund from '@/components/CodeFund'
export default { export default {
name: 'AppMain', name: 'AppMain',
components: {
CodeFund
},
computed: { computed: {
cachedViews() { cachedViews() {
return this.$store.state.tagsView.cachedViews return this.$store.state.tagsView.cachedViews
......
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
}, },
created() { created() {
this.$nextTick(() => { this.$nextTick(() => {
this.height = document.documentElement.clientHeight - 250 this.height = document.documentElement.clientHeight - 200
this.init() this.init()
}) })
}, },
......
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
}, },
created() { created() {
this.$nextTick(() => { this.$nextTick(() => {
this.height = document.documentElement.clientHeight - 250 this.height = document.documentElement.clientHeight - 200
this.init() this.init()
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment