12345678910111213141516171819202122232425262728 |
- <template>
- <section class="main">
- <transition name="fade-transform" mode="out-in">
- <router-view/>
- </transition>
- </section>
- </template>
- <script>
- export default {
- name: 'Main',
- computed: {
- // key() {
- // return this.$route.name !== undefined ? this.$route.name + +new Date() : this.$route + +new Date()
- // }
- }
- }
- </script>
- <style scoped>
- .main {
- /*50 = navbar */
- min-height: calc(100% - 70px);
- width: 100%;
- position: relative;
- overflow: hidden;
- }
- </style>
|