@ -682,14 +699,13 @@ export class OilUnloadingProcessListComponent implements OnInit {
this.getViolateRecordList()
}
ngAfterViewInit():void{
fromEvent(this.element.nativeElement.querySelector(`#tbody`)asHTMLCanvasElement,'scroll').pipe(debounceTime(500)).subscribe((event: any)=>{//监听 DOM 滚动事件
fromEvent(this.element.nativeElement.querySelector(`.ant-table-body`)asHTMLCanvasElement,'scroll').pipe(debounceTime(100)).subscribe(async(event: any)=>{//监听 DOM 滚动事件
@ -658,14 +674,13 @@ export class WarningStatisticsListComponent implements OnInit {
this.getLicenseList()
}
ngAfterViewInit():void{
fromEvent(this.element.nativeElement.querySelector(`#tbody`)asHTMLCanvasElement,'scroll').pipe(debounceTime(500)).subscribe((event: any)=>{//监听 DOM 滚动事件
fromEvent(this.element.nativeElement.querySelector(`.ant-table-body`)asHTMLCanvasElement,'scroll').pipe(debounceTime(100)).subscribe(async(event: any)=>{//监听 DOM 滚动事件