a-tree-select
<a-tree-select
style="width: 260px"
v-model:value="formState.userOrgCode"
show-search
:show-checked-strategy="SHOW_PARENT"
:tree-data="TreeData"
@select="onTreeSelect"
allowClear
tree-default-expand-all
tree-node-filter-prop="label"
>
</a-tree-select>
a-select
<a-select
:disabled="isEditModal ? UserRole === 'normalAdmin' : false"
v-model:value="inputSearch"
label-in-value
:show-search="true"
placeholder="请输入"
style="width: 100%"
:filter-option="false"
:not-found-content=" null"
:options="reporterOpts"
@change="onSelectChange"
@search="handleSearch"
>
</a-select>
标签:查找,搜索,第二种,情况,AntD,select
From: https://www.cnblogs.com/openmind-ink/p/18335015