Skip to main content

input 如何监听值变化

可以监听的事件有以下几种

  • keypress
  • keydown
  • keyup
  • input

但唯独没有 onChange