<el-input ref="caozuo" @click='get()'></el-input>
get(){
this.$nextTick(() => {
this.$refs.caozuo[0].focus();
});
}
太过简单给自己看的
<el-input ref="caozuo" @click='get()'></el-input>
get(){
this.$nextTick(() => {
this.$refs.caozuo[0].focus();
});
}
太过简单给自己看的

被折叠的 条评论
为什么被折叠?