<el-autocomplete
size="small"
style="margin-left: 8px; width: 400px"
class="inline-input"
v-model.trim="diagnoseName"
:trigger-on-focus="false"
:fetch-suggestions="querySearchdiagnose"
placeholder="请输入内容"
@select="handleSelect1"
></el-autocomplete>element这个组件,怎么对输入内容(即v-modeld所绑定的值)进行校验?保证它必须是提示列表里的值
添加回答
举报
0/150
提交
取消