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] 文档页面和实际使用中的bug #2017

Closed
taochangle opened this issue Jan 7, 2023 · 4 comments
Closed

[Tree] 文档页面和实际使用中的bug #2017

taochangle opened this issue Jan 7, 2023 · 4 comments
Labels
🐞 bug Something isn't working to be published fixed, not be published

Comments

@taochangle
Copy link

taochangle commented Jan 7, 2023

tdesign-vue 版本

1.0.3

重现链接

https://tdesign.tencent.com/vue/components/tree#%E8%87%AA%E5%AE%9A%E4%B9%89

重现步骤

image

期望结果

点击“ 插入节点使用高亮节点”,然后再点击插入子节点 子节点高亮

实际结果

页面卡死

框架版本

"vue": "~2.6.14",

浏览器版本

Microsoft Edge
版本 108.0.1462.54 (正式版本) (64 位)

系统版本

Windows11

Node版本

node -v
v14.21.2

补充说明

把demo代码拷贝到本地。点击“ 插入节点使用高亮节点”,然后再点击“插入子节点 ”,页面果然也卡死了

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2023

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

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2023

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

@taochangle taochangle changed the title [Tree] 文档页面有bug [Tree] 文档页面和实际使用中的bug Jan 7, 2023
@ccccpj ccccpj added the 🐞 bug Something isn't working label Feb 23, 2023
@TabSpace
Copy link
Collaborator

TabSpace commented Mar 6, 2023

节点插入自身引发了死循环。
报错信息在这个 PR 给出。
Tencent/tdesign-common#1181
之后再更新示例。

@TabSpace
Copy link
Collaborator

TabSpace commented Mar 6, 2023

#2212
问题已修正

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 fixed, not be published
Projects
None yet
Development

No branches or pull requests

4 participants