HTML
<el-input class="eqcode_none" v-model="qrCodeData" ref="inputEqcode"></el-input>
vue.js
this.$refs.inputEqcode.$el.querySelector('input').focus();
HTML
<el-input class="eqcode_none" v-model="qrCodeData" ref="inputEqcode"></el-input>
vue.js
this.$refs.inputEqcode.$el.querySelector('input').focus();