2

白色出现在对话框的背景中:

在此处输入图像描述

打字稿:config-referrals.component.ts


    openDialog(action, obj) {
        this.globalService.configAvailability = null;
        obj.action = action;
        const dialogRef = this.dialog.open(AddConsultantComponent,{
          data: obj,
        });
        dialogRef.afterClosed().subscribe(result => {
          this.ngOnInit();
        });
      }

4

1 回答 1

0

打字稿:config-referrals.component.ts


    openDialog(action, obj) {
            this.globalService.configAvailability = null;
            obj.action = action;
            const dialogRef = this.dialog.open(AddConsultantComponent,{
              data: obj,
              scrollStrategy: new NoopScrollStrategy()
            });
            dialogRef.afterClosed().subscribe(result => {
              this.ngOnInit();
            });
          }

于 2021-12-28T16:21:31.237 回答