加属性valuePropName=“checked”

<Form.Item label="" name="" valuePropName="checked">
    <Switch />
</Form.Item>

 

相关文章:

  • 2022-12-23
  • 2021-12-30
  • 2021-06-16
  • 2021-12-05
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2021-10-03
  • 2022-12-23
  • 2021-07-15
相关资源
相似解决方案