添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What problem does this feature solve?

RangePicker 返回值为数组,但是我们公司接口是 startTime、endTime 怎么办?

What does the proposed API look like?

相关文章(自定义组件包裹): https://zhuanlan.zhihu.com/p/375753910
但是我觉得这个需求很普通,应该有更好更容易的解决方案。还是说有更好的方案我不知道?

 <Form transormValues={.....} />   // transormValues在getFieldsValue等api返回之前调用,将值进行转换
 <Form.Item names=['startTime', 'endTime'] />   //适用于返回值是数组类型的控件  返回值将平铺为一个对象

Hello @konayukis , we use GitHub issues to trace bugs or discuss plans of Ant Design. So, please don't ask usage questions here. You can try to open a new discussion in antd discussions , select Q&A to ask questions, also can ask questions on Stack Overflow or Segment Fault , then apply tag antd and react to your question.

你好 @konayukis ,Ant Design Issue 板块是用于 bug 反馈与需求讨论的地方。请 勿询问如何使用的问题 ,你可以试着在 antd discussions 新开一个 discussion,选择 Q&A 类别进行提问,也可以在 Stack Overflow 或者 Segment Fault 中提问(记得添加 antd react 标签哦~)。