<template>
	<el-container direction="vertical" style="height: 100%; width: 100%; ">
		<el-main>
			<router-view v-slot="{ Component }">
				<keep-alive>
					<component :is="Component" />
				</keep-alive>
			</router-view>
		</el-main>
	</el-container>
</template>

<script setup>
// 组件注册
</script>

<style scoped>
  body {
    background-color: #eee;
    max-width: 100vw;
  }
  .el-container {
    /*padding: 10px 0;*/
  }
  .el-main {
    width: 100%;
    padding: 0;
    /*height: 100vh;*/
    overflow-x: hidden;
    background: #fff;
    /*padding-right: 10px;*/
  }
</style>
