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

Transfer (V2、V3) content 接受传入 ReactNode 时报错 #1575

Closed
zhan8863 opened this issue Feb 2, 2021 · 1 comment · Fixed by #1586 or #1601
Closed

Transfer (V2、V3) content 接受传入 ReactNode 时报错 #1575

zhan8863 opened this issue Feb 2, 2021 · 1 comment · Fixed by #1586 or #1601
Labels
bug Something isn't working comp:transfer

Comments

@zhan8863
Copy link
Collaborator

zhan8863 commented Feb 2, 2021

content 传入 ReactNode 时报错 item.content.includes 方法不存在

@zhan8863 zhan8863 added the bug Something isn't working label Feb 2, 2021
@GleanCoder1116 GleanCoder1116 added enhancement New feature or request and removed bug Something isn't working labels Feb 3, 2021
@GleanCoder1116 GleanCoder1116 changed the title Transfer (V2、V3) content 传入 ReactNode 时报错 item.content.includes 方法不存在 Transfer (V2、V3) content 接受传入 ReactNode Feb 3, 2021
@GleanCoder1116 GleanCoder1116 added bug Something isn't working and removed enhancement New feature or request labels Feb 3, 2021
@GleanCoder1116 GleanCoder1116 changed the title Transfer (V2、V3) content 接受传入 ReactNode Transfer (V2、V3) content 接受传入 ReactNode 时报错 item.content.includes 方法不存在 Feb 3, 2021
@GleanCoder1116 GleanCoder1116 changed the title Transfer (V2、V3) content 接受传入 ReactNode 时报错 item.content.includes 方法不存在 Transfer (V2、V3) content 接受传入 ReactNode 时报错 Feb 3, 2021
@GleanCoder1116
Copy link
Collaborator

考虑到过滤以及transfer属性的复杂性,特增加 render 属性来支持用户的自定义渲染菜单数据

GleanCoder1116 pushed a commit that referenced this issue Feb 3, 2021
@GleanCoder1116 GleanCoder1116 linked a pull request Feb 4, 2021 that will close this issue
GleanCoder1116 pushed a commit that referenced this issue Feb 21, 2021
@GleanCoder1116 GleanCoder1116 linked a pull request Feb 23, 2021 that will close this issue
chownchen added a commit that referenced this issue Feb 23, 2021
@GleanCoder1116 GleanCoder1116 mentioned this issue Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working comp:transfer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants