<template>
	<div id="app">
		<!--  需要缓存的 -->
		<keep-alive>
			<router-view v-if="$route.meta.keepAlive" />
		</keep-alive>
		<!--  不需要缓存的 -->
		<router-view v-if="!$route.meta.keepAlive" />
	</div>
</template>

<style>
#app {
	min-height: 100%;
}
</style>