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组件只有一个Tab的时候报错 #2559

Closed
yimi8126 opened this issue Aug 1, 2016 · 2 comments
Closed

可关闭Tabs组件只有一个Tab的时候报错 #2559

yimi8126 opened this issue Aug 1, 2016 · 2 comments
Assignees

Comments

@yimi8126
Copy link

yimi8126 commented Aug 1, 2016

Tabs type="editable-card"
{panes}
/Tabs
当panes只有一个组件的时候,var children = _props.children;children不会解析成一个LIst,导致children.map报错

是否组件开始的时候就必须要至少有两个TabPane?

@RaoHai RaoHai self-assigned this Aug 1, 2016
RaoHai added a commit to RaoHai/ant-design that referenced this issue Aug 1, 2016
@RaoHai
Copy link
Contributor

RaoHai commented Aug 1, 2016

close via #2563

@RaoHai RaoHai closed this as completed Aug 1, 2016
afc163 added a commit that referenced this issue Aug 16, 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