feat(input): 增加 taro components 属性的支持#3181
Conversation
|
""" Walkthrough此次变更为输入组件引入了一个新的可选属性 Changes
Sequence Diagram(s)sequenceDiagram
participant ParentComponent
participant Input
participant TaroInput
ParentComponent->>Input: 传递 autoFocus, focus 属性
Input->>Input: 解析 autoFocus, focus
Input->>TaroInput: 传递 focus = autoFocus || focus
TaroInput->>TaroInput: 根据 focus 属性决定是否聚焦
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🪧 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 @@
## feat_v3.x #3181 +/- ##
=============================================
+ Coverage 86.56% 86.60% +0.04%
=============================================
Files 289 289
Lines 18742 18742
Branches 2822 2822
=============================================
+ Hits 16224 16232 +8
+ Misses 2513 2505 -8
Partials 5 5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary by CodeRabbit
focus属性,可通过该属性或原有的autoFocus属性控制输入框聚焦状态。