<template>
	<el-main class="tabsMain">
		<el-tabs tab-position="top" class="tabsPadding" v-model="tabsTrue">
			<el-tab-pane label="备件库" name="library">
				<library v-if="tabsTrue == 'library'"></library>
			</el-tab-pane>

			<el-tab-pane label="备件信息" name="info">
				<info v-if="tabsTrue == 'info'"></info>
			</el-tab-pane>
		</el-tabs>
	</el-main>
</template>

<script>
import library from './components/library'
import info from './components/info'

export default {
	name: 'parts',
	components: {
		library,
		info
	},
	data() {
		return {
			size:'small',
			tabsTrue:'library',
		}
	},
	methods: {

	}
}
</script>

<style lang="scss" scoped>

</style>
