<template>
	<el-main class="tabsMain">
		<el-tabs tab-position="top" class="tabsPadding" v-model="tabsTrue">
			<el-tab-pane label="我的文档" name="document">
				<document v-if="tabsTrue == 'document'"></document>
			</el-tab-pane>

			<el-tab-pane label="团队共享" name="share">
				<share v-if="tabsTrue == 'share'"></share>
			</el-tab-pane>
		</el-tabs>
	</el-main>
</template>

<script>
import document from './document'
import share from './share'

export default {
	name: 'index',
	components: {
		document,
		share
	},
	data() {
		return {
			size:'small',
			tabsTrue:'document',
		}
	},
	methods: {

	}
}
</script>

<style lang="scss" scoped>

</style>
