简体   繁体   English

如果在上一步中满足条件,如何跳过一个步骤 - Stepper | 角材料

[英]How to skip a step if a condition is met in a previous step - Stepper | Angular Material

如何使用后面几步中存在的变量的真/假条件跳过一个步骤?

u can use conditional if.你可以使用条件if。 This is a possibility.这是一种可能。

I found the solution, that was after all so simple!我找到了解决方案,毕竟这太简单了!

On the stepper's parent component html, I used a conditional ngIf that checks the value of a property saved on a form!在步进器的父组件 html 中,我使用了条件 ngIf 来检查保存在表单上的属性的值!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM