📅  最后修改于: 2022-03-11 15:04:18.688000             🧑  作者: Mango
checkValue(event: Event) {
const ctrl = this.activityForm.get('docType');
if (event.value === 'document') {
ctrl.enable();
} else {
ctrl.disable();
}
}