Commit 978b9d2d by 段启岩

解决重复挂载问题

parent 05b6d942
<template>
<transition name="fade-transform" mode="out-in">
<nuxt/>
</transition>
</template>
<script>
......
<template>
<div class="bc-layout-container">
<page-header></page-header>
<transition name="fade-transform" mode="out-in">
<nuxt />
</transition>
<page-footer></page-footer>
</div>
</template>
......
<template>
<div class="bc-layout-container">
<page-header></page-header>
<transition name="fade-transform" mode="out-in">
<nuxt />
</transition>
</div>
</template>
......
......@@ -29,6 +29,14 @@ module.exports = {
css: [
'~/assets/font/iconfont.css'
],
pageTransition: {
name: 'fade',
mode: 'out-in'
},
layoutTransition: {
name: 'fade-transform',
mode: 'out-in'
},
/*
** Plugins to load before mounting the App
*/
......
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