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

feat(pro:transfer): add tree transfer cascadeStrategy support #1155

Merged

Conversation

sallerli1
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?

新增勾选策略配置,通过treeProps.checkStrategy配置

Other information

重构树穿梭框数据处理策略,增加勾选策略为child以及parent的数据处理

@idux-bot
Copy link

idux-bot bot commented Sep 22, 2022

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Sep 22, 2022

Codecov Report

Merging #1155 (10a668b) into main (7f656fc) will decrease coverage by 0.00%.
The diff coverage is 78.68%.

@@            Coverage Diff             @@
##             main    #1155      +/-   ##
==========================================
- Coverage   96.94%   96.94%   -0.01%     
==========================================
  Files         321      321              
  Lines       30906    30920      +14     
  Branches     2070     2828     +758     
==========================================
+ Hits        29962    29974      +12     
- Misses        944      946       +2     
Impacted Files Coverage Δ
packages/pro/transfer/src/utils.ts 85.21% <72.91%> (-0.51%) ⬇️
packages/components/transfer/src/types.ts 99.57% <100.00%> (ø)
packages/pro/transfer/src/ProTransfer.tsx 100.00% <100.00%> (ø)
packages/pro/transfer/src/types.ts 100.00% <100.00%> (ø)

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

@sallerli1 sallerli1 force-pushed the feat-pro-transfer-tree-check-strategy-saller branch from 05d20eb to f705a81 Compare September 22, 2022 12:24
@danranVm
Copy link
Member

checkStrategy 改成 cascaderStrategy 吧,参考一下 ProTree 组件

@sallerli1 sallerli1 force-pushed the feat-pro-transfer-tree-check-strategy-saller branch from f705a81 to 8b01408 Compare September 26, 2022 13:36
@sallerli1 sallerli1 force-pushed the feat-pro-transfer-tree-check-strategy-saller branch from 8b01408 to 10a668b Compare September 27, 2022 01:43
@sallerli1 sallerli1 changed the title feat(pro:transfer): add tree transfer checkStrategy support feat(pro:transfer): add tree transfer cascadeStrategy support Sep 27, 2022
@danranVm danranVm merged commit 470bf8d into IDuxFE:main Sep 27, 2022
@sallerli1 sallerli1 deleted the feat-pro-transfer-tree-check-strategy-saller branch February 20, 2023 06:11
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.

2 participants