<el-select
v-model="addTraceForm.advisor"
clearable
@change="advisorChange"
maxlength="250"
filterable
allow-create
remote
:remote-method="(qs:any)=>{return remoteMethod(qs)}"
>
<el-option
v-for="item in advisor_list"
:key="item.advisor"
:label="item.advisor"
:value="item.advisor"
/>
</el-select>
上述代码,复制一个值到select输入框中,然后在remoteMethod,模糊搜索到该数据,为什么allow-create创建的数据没有被清除掉,导致列表中出现两条一模一样的数据