fix(cascader): 受控状态下 value 变化时同步组件选中状态#2591
Conversation
Walkthrough此次更改在 Changes
Possibly related PRs
Suggested labels
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2591 +/- ##
=======================================
Coverage 83.11% 83.11%
=======================================
Files 218 218
Lines 17814 17817 +3
Branches 2544 2545 +1
=======================================
+ Hits 14806 14809 +3
Misses 3003 3003
Partials 5 5 ☔ View full report in Codecov by Sentry. |
🤔 这个变动的性质是?
🔗 相关 Issue
#2583
💡 需求背景和解决方案
修复 Cascader 组件受控状态下修改 value 时,组件选中状态未变更问题
☑️ 请求合并前的自查清单
Summary by CodeRabbit
InternalCascader组件对value属性变化的响应能力,确保内部状态与外部值保持同步,从而改善用户体验。