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

Tree组件(包括其他组件)key只能是string单一类型 #343

Closed
1 task
lynlich opened this issue Dec 25, 2018 · 4 comments
Closed
1 task

Tree组件(包括其他组件)key只能是string单一类型 #343

lynlich opened this issue Dec 25, 2018 · 4 comments
Labels

Comments

@lynlich
Copy link

lynlich commented Dec 25, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

组件props只能是单一类型很不方便开发,当传入number时就会报错。

What does the proposed API look like?

props type支持[string, number]

@tangjinzhou
Copy link
Member

table是支持number类型key的,你使用的什么版本,如有报错,麻烦给出复现demo链接 谢谢

@lynlich lynlich changed the title Table组件(包括其他组件)key只能是string单一类型 Tree组件(包括其他组件)key只能是string单一类型 Dec 26, 2018
@lynlich
Copy link
Author

lynlich commented Dec 26, 2018

table是支持number类型key的,你使用的什么版本,如有报错,麻烦给出复现demo链接 谢谢

说错了 是Tree 使用1.2.3

@tangjinzhou
Copy link
Member

please update to 1.2.4

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants