我的 component 中有以下代码: @ViewChild('form') form: NgForm isFormShown = true ngAfterVi. ... 如果现有值保留在表单中,则可以隐藏而不是使用 ngIf :
確定! 回上一頁