NgModel 指令使用场景比较多,还会和NgForm 结合使用,所以非常有必要单独写一 ... <input [(ngModel)]="name" #ctrl="ngModel" required> <p>Value: ...
確定! 回上一頁