<template>
    <div class="ht-base-tree-checkbox-demo">
        <ht-base-tree :data="data" show-checkbox></ht-base-tree>
    </div>
</template>

<script>
    export default {
        name: 'HtBaseTreeCheckboxDemo',
        data() {
            return {
                data: [
                    {
                        title: '第一小节',
                        expand: true,
                        children: [
                            {
                                title: '第一小节1-0',
                                expand: true,
                                children: [
                                    {
                                        title: '小节内容-01'
                                    },
                                    {
                                        title: '小节内容-02'
                                    }
                                ]
                            },
                            {
                                title: '第一小节1-1',
                                expand: true,
                                children: [
                                    {
                                        title: '小节内容-01'
                                    },
                                    {
                                        title: '小节内容-02'
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        }
    }
</script>
<style>
    .ht-base-tree-checkbox-demo {

    }
</style>

