📅  最后修改于: 2022-03-11 15:02:27.255000             🧑  作者: Mango
set isDisabled(value: boolean) {
this._isDisabled = value;
if(value) {
this.form.controls['name'].disable();
} else {
this.form.controls['name'].enable();
}
}