-
Notifications
You must be signed in to change notification settings - Fork 141
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(comp: stepper): vertical style error without description #784
Conversation
This preview will be available after the AzureCI is passed. |
Codecov Report
@@ Coverage Diff @@
## main #784 +/- ##
=======================================
Coverage 83.99% 83.99%
=======================================
Files 466 466
Lines 12026 12027 +1
Branches 2890 2891 +1
=======================================
+ Hits 10101 10102 +1
Misses 1925 1925
Continue to review full report at Codecov.
|
eb657ff
to
f2b5690
Compare
[`${prefixCls}-vertical`]: vertical, | ||
[`${prefixCls}-with-percent`]: percent != null, | ||
}) | ||
}) | ||
|
||
const [activeKey, setActiveKey] = useControlledProp(props, 'activeKey') | ||
|
||
provide(stepperToken, { props, slots, activeKey, setActiveKey }) | ||
provide(stepperToken, { props: reactive({ ...toRefs(props), size }), slots, activeKey, setActiveKey }) |
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.
size 单独传一下就好了吧,没必要这么干。
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.
不建议这样做,对于item来说size是属于parentProps的一部分
e3e6f64
to
2aa8889
Compare
2aa8889
to
02a2094
Compare
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
What is the new behavior?
Other information