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

[Dropdown] t-dropdown-item无法使用组件作为填充内容 #1825

Closed
jxwanglong opened this issue Oct 10, 2022 · 3 comments
Closed

[Dropdown] t-dropdown-item无法使用组件作为填充内容 #1825

jxwanglong opened this issue Oct 10, 2022 · 3 comments
Assignees
Labels
🐞 bug Something isn't working to be published to be published

Comments

@jxwanglong
Copy link
Contributor

重现链接

https://stackblitz.com/edit/angular-xjuczk?file=src/demo.vue

重现步骤

通过重现链接模拟
1、简单使用dropdown组件,里面包含注释,会把注释内容作为item的填充内容
企业微信截图_a4e17910-1a33-4673-ad1b-94459010ccc7

2、放开注释,使用icon作为item的填充内容,会直接导致无法渲染,死循环
企业微信截图_46b216b3-c17c-4a44-af4b-50104040b251

期望结果

在使用vue组件作为dropdown-item的填充内容时,能够正常渲染

实际结果

企业微信截图_46b216b3-c17c-4a44-af4b-50104040b251

Environment Info
相关版本 0.24.0
框架版本 / 基础库版本 Vue(3.2.37)
系统、浏览器 Chrome(106.0.5249.103)
Node版本
@github-actions
Copy link
Contributor

👋 @jxwanglong,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

♥️ 有劳 @PengYYYYY @qunbotop 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @jxwanglong

@uyarn uyarn added the 🐞 bug Something isn't working label Oct 10, 2022
@uyarn
Copy link
Collaborator

uyarn commented Oct 10, 2022

处理漏了

@uyarn uyarn added the to be published to be published label Oct 10, 2022
@uyarn uyarn mentioned this issue Oct 10, 2022
16 tasks
@github-actions github-actions bot mentioned this issue Oct 10, 2022
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working to be published to be published
Projects
None yet
Development

No branches or pull requests

3 participants