<script setup>
	import JtHeader from './components/header.vue';
	import modifyModule from './components/modifyPassword.vue';
</script>
<template>
	<!-- 顶栏容器 -->
	<!-- <JtHeader @handleSelect="handleSelect" /> -->

	<!-- 控制路由页面是否缓存 -->
	<router-view v-slot="{ Component }">
		<keep-alive>
			<component :is=" Component" v-if="$route.meta.keepAlive" />
		</keep-alive>
		<component :is="Component" v-if="!$route.meta.keepAlive" />
	</router-view>

	<!-- 修改密码 -->
	<modifyModule ref="modifyMoudle"></modifyModule>
</template>

<script>
	export default {
		name: 'MainView',

		/* 数据 */
		data() {
			return {}
		},

		/* 方法 */
		methods: {
			//修改密码弹出框事件
			modifyMoudle() {
				this.$refs.modifyMoudle.isshow = true
			},
		},
		mounted() {

		}
	}
</script>

<style lang="scss" scoped>
	
</style>
