|
|
@ -14,10 +14,9 @@ |
|
|
|
<PageFour v-if="currentIndex === 3" /> |
|
|
|
<PageFive v-if="currentIndex === 4" /> --> |
|
|
|
<!-- 正常运行时 --> |
|
|
|
<!-- <keep-alive> |
|
|
|
<component :is="currentPage && currentPage.title" /> |
|
|
|
</keep-alive> --> |
|
|
|
<keep-alive :include="cachedComponentNames"> |
|
|
|
<component :is="currentPage && currentPage.title" /> |
|
|
|
</keep-alive> |
|
|
|
<!-- bottom --> |
|
|
|
<div class="bottom-bg"> |
|
|
|
<div class="bottom-content"> |
|
|
@ -71,6 +70,11 @@ export default { |
|
|
|
yearTimer: null |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
cachedComponentNames() { |
|
|
|
return ['PageOne', 'PageTwo', 'PageFour'] |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
// const METAWA = require('../assets/js/META.common.min.js') |
|
|
|
// const meta = new METAWA('665e845538d68') |
|
|
|