html:
<nz-select style="width: 180px;" [(ngModel)]="courseInfoId" [nzDisabled]="isCourse">
<nz-option *ngFor="let course of courseInfoList" [nzValue]="course.courseId" [nzLabel]="course.courseName"></nz-option>
</nz-select>
ts :
// 课程是否禁用
isCourse: boolean;
// ture 为禁用
isCourse = ture ;
// false 为可用
isCourse = false ;