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

This commit is contained in:
2024-08-07 23:04:46 +08:00
parent 0250e3008b
commit 3289e799be
7 changed files with 34 additions and 27 deletions

View File

@@ -3,7 +3,7 @@
<el-form :model="formData" ref="tagForm" label-width="auto" :rules="rules">
<el-form-item label="标签名称" prop="tagName">
<el-input v-model="formData.tagName" placeholder="请输入标签名称" style="width: 300px" v-if="showInput"/>
<el-select v-model="formData.tagName" placeholder="请选择标签" clearable filterable style="width: 300px" v-else>
<el-select v-model="formData.tagName" placeholder="请选择标签" remote clearable filterable style="width: 300px" v-else>
<el-option
v-for="item in tagsOption"
:key="item.label"