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: [TreeSelect] Fix the typeError when closing the panel when searc… #2694

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

YyumeiZhang
Copy link
Collaborator

@YyumeiZhang YyumeiZhang commented Feb 7, 2025

…h is enabled and treeData is undefined

中文模板 / Chinese Template

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Test Case
  • TypeScript definition update
  • Document improve
  • CI/CD improve
  • Branch sync
  • Other, please describe:

PR description

Fixes #
复现版本 2.73.0
image

Changelog

🇨🇳 Chinese

  • Fix: 修复 TreeSelect 在开启搜索并且 treeData 为 undefined 时,关闭面板时候的 TypeError

🇺🇸 English

  • Fix: Fix the TypeError when closing the panel of the TreeSelect component when search is enabled and treeData is undefined

Checklist

  • Test or no need
  • Document or no need
  • Changelog or no need

Other

  • Skip Changelog

Additional information

Copy link

codesandbox-ci bot commented Feb 7, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3af4330:

Sandbox Source
pr-story Configuration

Copy link

cypress bot commented Feb 7, 2025

semi-design    Run #3057

Run Properties:  status check passed Passed #3057  •  git commit e598ba41db ℹ️: Merge 3af433032a4162640ae1a84b666eea9dca451a5c into df507ba206eeb6647e4e1029cbcb...
Project semi-design
Branch Review fix/treeselect-undefined-treeData
Run status status check passed Passed #3057
Run duration 08m 13s
Commit git commit e598ba41db ℹ️: Merge 3af433032a4162640ae1a84b666eea9dca451a5c into df507ba206eeb6647e4e1029cbcb...
Committer YyumeiZhang
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 11
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 281
View all changes introduced in this branch ↗︎

@DaiQiangReal DaiQiangReal merged commit ee1e36e into main Feb 7, 2025
10 checks passed
@DaiQiangReal DaiQiangReal deleted the fix/treeselect-undefined-treeData branch February 7, 2025 07:28
Copy link

cypress bot commented Feb 7, 2025

semi-design    Run #3059

Run Properties:  status check passed Passed #3059  •  git commit ee1e36e190: Merge pull request #2694 from DouyinFE/fix/treeselect-undefined-treeData
Project semi-design
Branch Review main
Run status status check passed Passed #3059
Run duration 07m 57s
Commit git commit ee1e36e190: Merge pull request #2694 from DouyinFE/fix/treeselect-undefined-treeData
Committer SudoUser
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 11
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 281
View all changes introduced in this branch ↗︎

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