-
-
Notifications
You must be signed in to change notification settings - Fork 50.7k
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: change progress to percent in success props & warning in Progress #25356
Conversation
这个地方之前写错 devWarnning 的条件了😅 |
那个 api 如果也要调整的话,应该放在feature分支还是? |
顺便把
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 5bfd314:
|
Codecov Report
@@ Coverage Diff @@
## master #25356 +/- ##
=======================================
Coverage 99.49% 99.49%
=======================================
Files 368 368
Lines 7292 7303 +11
Branches 2042 2049 +7
=======================================
+ Hits 7255 7266 +11
Misses 37 37
Continue to review full report at Codecov.
|
changelog 写一下。 |
<div | ||
class="ant-progress-success-bg" | ||
style="width: 30%; height: 8px; background-color: rgb(255, 255, 255);" | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为啥这个会变?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
还在修改,稍等~😂
This comment has been minimized.
This comment has been minimized.
还得补下测试。。。QuQ |
<Progress percent={60} success={{ progress: 30 }} />, | ||
); | ||
expect(errorSpy).toHaveBeenCalledWith( | ||
'Warning: [antd: Progress] `progress` is deprecated. Please use `percent` instead.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'Warning: [antd: Progress] `progress` is deprecated. Please use `percent` instead.', | |
'Warning: [antd: Progress] `success.progress` is deprecated. Please use `success.percent` instead.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done~
如何让这个警告消失,我用了customRequest |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
close: #25353
💡 Background and solution
📝 Changelog
success.progress
tosuccess.percent
.success.progress
为success.percent
。☑️ Self Check before Merge