el-input 获取焦点的方法

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

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

posted @ 2020-07-07 10:42  Mr、DIVE  阅读(2646)  评论(0编辑  收藏  举报