<template>
<a-tree-select
class="company"
v-model="value"
style="width: 100%"
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
:tree-data="treeData"
placeholder="Please select"
tree-default-expand-all
:replaceFields="{
children: 'list',
title: 'groupName',
key: 'id',
value: 'id',
}"
@select="onSelect"
@change="onChange"
@search='onSearch'
treeNodeFilterProp="title"
:treeDefaultExpandAll="false"
:filterTreeNode="fillterFUN"
showSearch
allowClear
>
</a-tree-select>
</template>
<script>
import { data } fr