Repository navigation
fix: 🐛 修复 Input、Textarea、Search 组件设置清空后不聚焦时无法触发失焦事件的问题 - #1046
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for wot-design-uni ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Walkthrough本次变更主要涉及对 Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant wd-search.vue
participant Parent
User->>wd-search.vue: 输入内容
wd-search.vue->>wd-search.vue: handleInput(event)
wd-search.vue->>Parent: emit('update:modelValue', inputValue)
User->>wd-search.vue: 点击清除
wd-search.vue->>wd-search.vue: handleClear()
wd-search.vue->>Parent: emit('clear')
User->>wd-search.vue: 输入框失焦
wd-search.vue->>wd-search.vue: handleBlur()
wd-search.vue->>Parent: emit('blur')
User->>wd-search.vue: 按下回车
wd-search.vue->>wd-search.vue: handleConfirm()
wd-search.vue->>Parent: emit('search', inputValue)
Possibly related PRs
Poem
Tip ⚡️ Faster reviews with caching
Enjoy the performance boost—your workflow just got faster. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (16)
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
Walkthrough此PR修复了在Input、Textarea和Search组件中,当设置清空后不聚焦时无法触发失焦事件的问题。通过调整组件的事件处理逻辑,确保在清空操作后能够正确触发失焦事件。 Changes
|
|
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1046 +/- ##
==========================================
- Coverage 84.80% 83.15% -1.66%
==========================================
Files 215 13 -202
Lines 17273 825 -16448
Branches 2666 133 -2533
==========================================
- Hits 14648 686 -13962
+ Misses 2625 139 -2486 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
组件测试摘要 (H5 平台)测试时间: Fri May 9 05:32:20 UTC 2025测试结果
|
Deploying wot-design-uni with
|
| Latest commit: |
769e2ad
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://415d5fed.wot-design-uni.pages.dev |
| Branch Preview URL: | https://fix-input-blur-error.wot-design-uni.pages.dev |
🤔 这个 PR 的性质是?(至少选择一个)
🔗 相关 Issue
💡 需求背景和解决方案
修复 Input、Textarea、Search 组件设置清空后不聚焦时无法触发失焦事件的问题
☑️ 请求合并前的自查清单
Summary by CodeRabbit