-
-
Notifications
You must be signed in to change notification settings - Fork 47.5k
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
fix: Button loading={delay: 0} 不显示加载 #45282
Conversation
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #45282 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 692 692
Lines 11670 11669 -1
Branches 3117 3116 -1
=========================================
- Hits 11670 11669 -1
☔ View full report in Codecov by Sentry. |
来个测试用例 |
好的,谢谢大佬 |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
#45273
💡 Background and solution
在
getLoadingConfig
中判断delay = 0
时,直接设置loading = true
📝 Changelog
☑️ Self-Check before Merge
🚀 Summary
🤖 Generated by Copilot at c975345
Fixed a button loading icon bug and simplified the delay logic in
components/button/button.tsx
.🔍 Walkthrough
🤖 Generated by Copilot at c975345