<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所绑定的值)进行校验?保证它必须是提示列表里的值
人到中年有点甜
慕无忌1623718
相关分类