跳到主要内容

什么是受控组件

  • 表单的值,受到 state 控制
  • 需要自行监听 onChange,更新 state
  • 对比非受控组件