Skip to content
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

引入 vant -steps 之后, 最后一个节点的显示问题 #5871

Open
biel-fyq opened this issue Aug 29, 2024 · 1 comment
Open

引入 vant -steps 之后, 最后一个节点的显示问题 #5871

biel-fyq opened this issue Aug 29, 2024 · 1 comment

Comments

@biel-fyq
Copy link

重现链接

image

Vant Weapp 版本

1.10.3

描述一下你遇到的问题。

如图片所示,如果说decs只写一个 其他都不写,那么最后一个节点的圆圈就不会出现在同一水平线上

重现步骤

数据:steps: [
{
text: '预约',
desc: '去预约',
},
{
text: '面试',
desc: '',
},
{
text: '生活普查',
desc: '',
},
{
text: '体检',
desc: '',
},
{
text: '报到',
desc: '',
},
{
text: '入职',
desc: '',
},
],

设备/浏览器

No response

@biel-fyq
Copy link
Author

实际上 是根据text 与desc最大字符的长度决定的 如果说长度一样 那么就不会出现图片上的问题,如果说不一样,那么最后一个节点位置的展示绝对会往上走

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant