Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

Tabs type="editable-card" 时解析错误 #2658

Closed
yimi8126 opened this issue Aug 9, 2016 · 5 comments
Closed

Tabs type="editable-card" 时解析错误 #2658

yimi8126 opened this issue Aug 9, 2016 · 5 comments
Assignees

Comments

@yimi8126
Copy link

yimi8126 commented Aug 9, 2016

本地环境

  • antd 版本:最新
  • 操作系统及其版本:
  • 浏览器及其版本:

你做了什么?

{this.state.panes.map(pane => {pane.content})} #### 你期待的结果是:

我的任务为固定,其他TabPane数量不定,可以为0

实际上的结果:

非 type="editable-card"模型下显示正常,在 type="editable-card"时,解析Tabs下的Children为一个数组[Object, Array[0]],非固定的TabPanes解析为一个Array,后面child.props.tab报错

可重现的在线演示

@afc163
Copy link
Member

afc163 commented Aug 9, 2016

由于维护者能力所限,可能无法准确理解提问的意思,所以烦请提供一个可重现的演示,帮助我们更快的排查到问题。:smile:

http://codepen.io/anon/pen/wGOWGW?editors=001

@yimi8126
Copy link
Author

@afc163
Copy link
Member

afc163 commented Aug 11, 2016

Ok, 我晚点看下。

@afc163 afc163 self-assigned this Aug 11, 2016
@afc163
Copy link
Member

afc163 commented Aug 11, 2016

感谢反馈。

@afc163 afc163 closed this as completed Aug 11, 2016
@lock
Copy link

lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants