-
Notifications
You must be signed in to change notification settings - Fork 4.9k
fix: 修复jd下CustomWrapper内的组件className失效问题 #17511
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
Conversation
Walkthrough此次更改在 Changes
Sequence Diagram(s)sequenceDiagram
participant Func as createRecursiveComponentConfig
participant Env as 环境变量 (TARO_ENV)
participant Options as 返回的 options 对象
Func->>Env: 检查 TARO_ENV 的值
alt TARO_ENV 为 'jd'
Env-->>Func: 返回 'jd'
Func->>Func: 添加 {addGlobalClass: true} 至 extraOptions
else
Env-->>Func: 返回其他值
end
Func->>Options: 合并 extraOptions 到 options 对象
Poem
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (2)
✨ Finishing Touches
🪧 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 @@
## main #17511 +/- ##
========================================
Coverage 58.37% 58.37%
========================================
Files 469 469
Lines 27231 27231
Branches 5984 5944 -40
========================================
Hits 15896 15896
- Misses 9807 9939 +132
+ Partials 1528 1396 -132
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
这个 PR 做了什么? (简要描述所做更改)
jd下CustomWrapper内的组件className, 添加不带wrapper-- 的原样式名
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台:
Summary by CodeRabbit