-
-
Notifications
You must be signed in to change notification settings - Fork 50.8k
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: percent={(3 / 9) * 100} steps={9} shows 2 #28530
Conversation
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 94414ac:
|
Size Change: +6 B (0%) Total Size: 791 kB
ℹ️ View Unchanged
|
本来想解决 33% 在 step 为 9 时不显示 3 的问题 |
@@ -1415,7 +1415,7 @@ Array [ | |||
style="width:14px;height:8px" | |||
/> | |||
<div | |||
class="ant-progress-steps-item" | |||
class="ant-progress-steps-item ant-progress-steps-item-active" |
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.
不改过不了测试啊,原来 50% 在 step 为 3 的时候显示一个,现在该显示俩了
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
N/A
💡 Background and solution
supposed to display 3 blocks, but there's only 2
📝 Changelog
steps
显示精度问题。☑️ Self Check before Merge