<!--
 * @Author: your name
 * @Date: 2020-12-01 09:54:12
 * @LastEditTime: 2020-12-01 10:51:47
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \rs-cloud-platform-ui\src\views\layout\AppMain.vue
-->
<template>
  <!-- 分页栏 -->
	<section class="app-main" style="min-height: 100%;">
		<transition name="fade" mode="out-in">
			<router-view :key="key"></router-view>
		</transition>
	</section>
</template>

<script>
	export default {
  name: 'AppMain',
  computed: {
    key() {
      return this.$route.name !== undefined ? this.$route.name + +new Date() : this.$route + +new Date()
    }
  }
}
</script>
