ngx-rs-ant 2.2.3 → 2.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3694,11 +3694,15 @@ class ModalComponent {
3694
3694
  modals[i].querySelector('.modal-backdrop').style.backgroundColor = 'rgba(37, 43, 58, 0)';
3695
3695
  }
3696
3696
  }
3697
+ this.elementRef.nativeElement.style.display = 'block';
3697
3698
  }
3698
3699
  hide() {
3699
3700
  // 在service中重写
3700
3701
  this.onHide.emit();
3701
3702
  }
3703
+ onlyHide() {
3704
+ this.elementRef.nativeElement.style.display = 'none';
3705
+ }
3702
3706
  ngOnDestroy() {
3703
3707
  // 若存在多层模态框,下一层遮罩设置为不透明
3704
3708
  const nodeName = this.elementRef.nativeElement.nodeName;