You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
Version
2.1.1
Environment
Vue3.0
Reproduction link
Steps to reproduce
->use the carousel component of ant-design and set the prop variable-width='true'
What is expected?
it should works without error.
What is actually happening?
we cannot use the variable-width prop
actually, it cames from inner-slider.js and in ssrInit(), instead of putting const childWidth = child.props.width.split('px')[0]; we should put child.props.STYLE.width.split('px')[0]
The text was updated successfully, but these errors were encountered:
zkwolf
added a commit
to zkwolf/ant-design-vue
that referenced
this issue
Apr 27, 2021
Version
2.1.1
Environment
Vue3.0
Reproduction link
Steps to reproduce
->use the carousel component of ant-design and set the prop variable-width='true'
What is expected?
it should works without error.
What is actually happening?
we cannot use the variable-width prop
actually, it cames from inner-slider.js and in ssrInit(), instead of putting const childWidth = child.props.width.split('px')[0]; we should put child.props.STYLE.width.split('px')[0]
The text was updated successfully, but these errors were encountered: