fix : 选择框为远程搜索解决卡顿问题

This commit is contained in:
2024-08-07 22:51:04 +08:00
parent cab7311cfb
commit 0250e3008b
12 changed files with 41 additions and 29 deletions

View File

@@ -3,7 +3,7 @@
<fvForm :schema="schema" @getInstance="(e)=>baseForm = e" label-position="left" label-width="left"></fvForm>
<el-form :model="attachment" inline style="margin-top: 15px">
<el-form-item label="标签" prop="tag">
<el-select v-model="attachment.tag" placeholder="请选择标签" clearable filterable style="width: 300px">
<el-select v-model="attachment.tag" placeholder="请选择标签" clearable filterable remote style="width: 300px">
<el-option
v-for="item in tagsOption"
:key="item.value"

View File

@@ -52,7 +52,8 @@ const searchConfig = ref([
clearable: true,
data: [],
filterable: true,
checkStrictly: true
checkStrictly: true,
remote: true
}
},
{
@@ -123,6 +124,7 @@ const searchConfig = ref([
props: {
placeholder: '请选择状态',
clearable: true,
filterable: true,
cacheKey: 'project_implementation',
remote: true
}