文本框中添加以下js事件就可以了.
onpropertychange="this.style.height = this.scrollHeight + 3 +'px';"
oninput="this.style.height = this.scrollHeight + 3 + 'px';"

相关文章:

  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-07-29
  • 2021-07-14
猜你喜欢
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
相关资源
相似解决方案