在按钮事件里加上这一段
this.$nextTick(() =>{
this.$refs.input.focus()
})

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-10-17
  • 2021-12-09
猜你喜欢
  • 2021-10-19
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2021-04-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案