Ant组件库的Steps步骤条中嵌套步骤条
需求:如果在步骤条里嵌套步骤条实现:在a-steps标签里再写一个a-steps标签注意:需要监听:current,如果有多层嵌套,要判断什么时候显示子步骤条官网:Ant-vue的Steps步骤条组件:https://www.antdv.com/components/steps-cn/示例:<a-steps size="small" style="padding-left: 20px;" d
·
需求:如果在步骤条里嵌套步骤条
实现:在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>
更多推荐
已为社区贡献2条内容
所有评论(0)