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

fix(pro:tree): expandAll button state is wrong #1429

Merged
merged 1 commit into from Feb 8, 2023

Conversation

liuzaijiang
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior?

展开/收起按钮的状态内部是写死的,没有根据当前节点的展开状态实时变化

What is the new behavior?

只要当存在一个展开节点时,按钮的状态为收起全部

GIF 2023-1-18 15-54-09

Other information

@idux-bot
Copy link

idux-bot bot commented Jan 18, 2023

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Jan 18, 2023

Codecov Report

Merging #1429 (511958a) into main (3e69791) will increase coverage by 0.01%.
The diff coverage is 96.55%.

@@            Coverage Diff             @@
##             main    #1429      +/-   ##
==========================================
+ Coverage   92.80%   92.82%   +0.01%     
==========================================
  Files         327      327              
  Lines       30292    30343      +51     
  Branches     2541     2546       +5     
==========================================
+ Hits        28114    28165      +51     
  Misses       2178     2178              
Impacted Files Coverage Δ
packages/pro/tree/src/ProTree.tsx 96.96% <95.83%> (+0.65%) ⬆️
packages/components/tree/src/Tree.tsx 95.29% <100.00%> (+0.14%) ⬆️
packages/components/tree/src/types.ts 99.65% <100.00%> (+<0.01%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@danranVm danranVm merged commit 2d2d7ca into IDuxFE:main Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants