<template>
    <!-- 二级库 管理 -->
    <div class="app-container">
        <transition name="el-fade-in-linear">
            <HomePages @onClickSecond="onClickSecond" v-if="isShowHome" />
            <HandlePages @goBack="goBack" v-else />
        </transition>
    </div>
</template>

<script>
import HomePages from './components/home-pages'
import HandlePages from './components/handle-pages'
export default {
    components: {
        HomePages,
        HandlePages,
    },
    data() {
        return {
            isShowHome: true,
            isHandleType: 1,
        }
    },
    methods: {
        onClickSecond() {
            this.isShowHome = false
        },
        goBack() {
            this.isShowHome = true
        },
    },
}
</script>
