el-autocomplete 失焦(blur)解决办法
<el-autocomplete ref="auto" v-model="input"> </el-autocomplete>
this.$refs.auto.close();
this.$refs.auto.$children[0].blur();
<el-autocomplete ref="auto" v-model="input"> </el-autocomplete>
this.$refs.auto.close();
this.$refs.auto.$children[0].blur();
本文标题:2018-12-07
本文链接:https://www.haomeiwen.com/subject/vdathqtx.html
网友评论