Channels.vue 480 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<template>
	<Layout>
		<template v-slot:head>
			头部
		</template>
		<!-- v-slot中的赋值是用:,而不是= -->
		<template v-slot:left>
			<AsideComp></AsideComp>
		</template>
		<template v-slot:right>
			右边主要内容部分
		</template>
	</Layout>
</template>

<script>
	import AsideComp from '../components/AsideComp.vue'
	import Layout from '../components/Layout.vue'
	export default{
		components:{
			AsideComp,
			Layout
		}
	}
</script>

<style>
</style>