<template>
    <SelectTree v-model="data[filter.code]" :placeholder="filter.label" :data="treeData">
    </SelectTree>
</template>
<script>
import SelectTree from './select-tree';

export default {
    name: 'FTree',
    data() {
        return {
            treeData: undefined
        }
    },
    props: {
        filter: {
            type: Object
        },
        data: {
            type: Object
        }
    },
    components: {
        SelectTree
    },
    computed: {},
    methods: {},
    mounted() {
        this.treeData = [{ "GUID": "测试", "NAME": "测试" }]
    }
};
</script>
<style lang="less" scoped>
</style>