<template>
    <keep-alive include="checkrecords">
        <component :is="selectComponent"></component>
    </keep-alive>
</template>
<script>
    import Checkrecords from './checkrecords'
    import CheckrecordsDetail from './checkrecordsDetail'
    import CheckrecordsHandle from './checkrecords-handle'
    export default {
        data () {
            return {
                selectComponent: Checkrecords
            }
        },
        components: {
            Checkrecords,
            CheckrecordsDetail,
            CheckrecordsHandle
        },
        methods: {
            init () {
                this.selectComponent = Checkrecords
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>
