el-input 获取焦点的方法

<el-input ref="mark"></el-input>

this.$refs['mark'].focus()

原文地址:https://www.cnblogs.com/DIVEY/p/13259439.html