mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-06 04:00:06 +08:00
26 lines
626 B
Vue
26 lines
626 B
Vue
<template>
|
|
<page-toggle-transition :disabled="animate.disabled" :animate="animate.name" :direction="animate.direction">
|
|
<keep-alive :exclude="dustbins" v-if="multiPage">
|
|
<router-view :key="$route.fullPath" />
|
|
</keep-alive>
|
|
<router-view v-else />
|
|
</page-toggle-transition>
|
|
</template>
|
|
|
|
<script>
|
|
import PageToggleTransition from '../components/transition/PageToggleTransition';
|
|
import {mapState} from 'vuex'
|
|
|
|
export default {
|
|
name: 'BlankView',
|
|
components: {PageToggleTransition},
|
|
computed: {
|
|
...mapState('setting', ['multiPage', 'animate', 'dustbins'])
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
|
|
</style>
|