fix(picker): 修复第一次modalValue值为空,打开面板后直接点击确认按钮,beforeConfirm回调中value参数…#1443
fix(picker): 修复第一次modalValue值为空,打开面板后直接点击确认按钮,beforeConfirm回调中value参数…#1443NeverGiveUp1995 wants to merge 2 commits intoMoonofweisheng:masterfrom
Conversation
|
@NeverGiveUp1995 is attempting to deploy a commit to the weisheng's projects Team on Vercel. A member of the Team first needs to authorize it. |
✅ Deploy Preview for wot-design-uni ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
概述在wd-picker组件的onConfirm函数中,当beforeConfirm存在时,现在从pickerViewWd直接获取当前选择器值,而非使用缓存的pickerValue,确保初始modelValue为undefined时仍能提供有效值。 变更详情
代码审查工作量🎯 2 (简单) | ⏱️ ~8 分钟 建议审查者
兔子之诗
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2024-12-05T15:55:35.371ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (1)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…为空串的问题
🤔 这个 PR 的性质是?(至少选择一个)
🔗 相关 Issue
💡 需求背景和解决方案
☑️ 请求合并前的自查清单
bug复现示例代码
bug示例效果
534490691-d6d8e270-e7b0-46de-9c8a-4cf54bef80c2.mp4
Summary by CodeRabbit
发布说明
✏️ Tip: You can customize this high-level summary in your review settings.