Warning: [antd: Switch] `value` is not a valid prop, do you mean `checked`?
解决方案:
<Form.Item label="更多设置" name="moreSetting" valuePropName="checked">
<Switch onChange={handleMoreSetting} />
</Form.Item>
参考链接: