// 获取所有input
let inputAll = document.querySelectorAll('.table_input input');
this.iddata = inputAll;
// 向上 =38
if (item.keyCode === 38) {
newIndex -= 8;
if (inputAll[newIndex]) {
inputAll[newIndex].focus();
}
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2022-02-05
猜你喜欢
  • 2022-12-23
  • 2021-11-22
  • 2021-11-15
  • 2022-12-23
  • 2022-02-02
  • 2021-12-06
相关资源
相似解决方案