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 树] 错误的过滤掉了 value = 0的节点 #3227

Closed
dhwebs opened this issue Jul 4, 2024 · 2 comments
Closed

[Tree 树] 错误的过滤掉了 value = 0的节点 #3227

dhwebs opened this issue Jul 4, 2024 · 2 comments
Labels
🐞 bug Something isn't working to be published fixed, not be published

Comments

@dhwebs
Copy link
Contributor

dhwebs commented Jul 4, 2024

tdesign-vue 版本

1.9.5

重现链接

https://codesandbox.io/p/sandbox/tdesign-vue-next-demo-whjy9w?file=%2Fsrc%2Fdemo.vue

重现步骤

随便挑一个节点,设置value=0,然后这一节点就会被过滤

期望结果

value = 0的不被过滤

实际结果

value = 0 的被过滤了

框架版本

2.7.0

浏览器版本

Chrome(104.0.5112.81)

系统版本

window10

Node版本

16.18.0

补充说明

看了源码,是 在23年6月28改的,直接!取反,0也进判断了
image

Copy link
Contributor

github-actions bot commented Jul 4, 2024

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

@uyarn uyarn added 🐞 bug Something isn't working to be published fixed, not be published labels Jul 4, 2024
@uyarn
Copy link
Collaborator

uyarn commented Jul 11, 2024

fixed 1.9.8

@uyarn uyarn closed this as completed Jul 11, 2024
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

2 participants