<input type="text" ref="input"/>


<script>
    mounted(){
        this.$refs['input'].focus();
    
    }

</script>

 

相关文章:

  • 2022-12-23
  • 2021-09-10
  • 2021-08-25
  • 2021-10-08
  • 2022-12-23
  • 2021-07-16
  • 2021-11-22
  • 2021-09-05
猜你喜欢
  • 2021-04-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
相关资源
相似解决方案