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] 使用时控制台提示错误 #2660

Closed
SuperLeven opened this issue Dec 13, 2023 · 8 comments
Closed

[Tree] 使用时控制台提示错误 #2660

SuperLeven opened this issue Dec 13, 2023 · 8 comments
Assignees
Labels
🐞 bug Something isn't working

Comments

@SuperLeven
Copy link

tdesign-react 版本

1.4.0

重现链接

No response

重现步骤

<Tree data={treeList} activable hover transition allowFoldNodeOnFilter={true} filter={filterText ? filterByText : undefined} />

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

image

Copy link
Contributor

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

Copy link
Contributor

github-actions bot commented Dec 13, 2023

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

@NWYLZW NWYLZW added the need more info 需要更多信息理解 issue 的问题 label Dec 13, 2023
@NWYLZW
Copy link
Collaborator

NWYLZW commented Dec 13, 2023

一、请补充 filterText 变量
二、请补充 filterByText 变量
三、请补充 treeList 变量
四、提供一个可复现的链接用于排查你的问题

@uyarn uyarn changed the title [Tree] 啥都没干,使用就报提示错误 [Tree] 使用控制台提示错误 Dec 13, 2023
@uyarn uyarn changed the title [Tree] 使用控制台提示错误 [Tree] 使用时控制台提示错误 Dec 13, 2023
@uyarn
Copy link
Collaborator

uyarn commented Dec 13, 2023

可以复现 @NWYLZW 我来跟进

@SuperLeven
Copy link
Author

可以复现 @NWYLZW 我来跟进

@SuperLeven
Copy link
Author

可以复现 @NWYLZW 我来跟进

不会操作,乱点的,没想到新建了一条,重现就好,变量都是官网复制的,名字都没改,辛苦修复了

@uyarn uyarn added 🐞 bug Something isn't working and removed need more info 需要更多信息理解 issue 的问题 labels Dec 14, 2023
@uyarn
Copy link
Collaborator

uyarn commented Dec 14, 2023

这个问题是因为初始化storeRef.current导致 暂时不影响功能的使用 我们Tree组件也正在重写 确认了下重写完不会有这个warning

@HaixingOoO
Copy link
Collaborator

fix 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants