需求:如果在步骤条里嵌套步骤条
实现:在a-steps标签里再写一个a-steps标签
注意:需要监听:current,如果有多层嵌套,要判断什么时候显示子步骤条

官网
Ant-vue的Steps步骤条组件:https://www.antdv.com/components/steps-cn/

示例

<a-steps size="small" style="padding-left: 20px;" direction="vertical" :current="currentTab3">
								<a-step title="步骤一" />
								<a-steps size="small" style="padding-left: 20px;" direction="vertical" :current="currentTab4" :status="stepStatus">
									<a-step title="步骤1"  />
									<a-step title="步骤2"  />
									<a-step title="步骤3"  />
									<a-step title="步骤4"  />
									<a-step title="步骤5"  />
									<a-step title="步骤6"  />
								</a-steps>
							</a-steps>
Logo

前往低代码交流专区

更多推荐