resut
This commit is contained in:
		@ -1,4 +1,5 @@
 | 
			
		||||
import { AfterViewInit, Component, OnDestroy, OnInit } from '@angular/core';
 | 
			
		||||
import { OnReuseDestroy } from '@delon/abc/reuse-tab';
 | 
			
		||||
import { SFComponent, SFSchema } from '@delon/form';
 | 
			
		||||
import { SearchDrawerService } from '@shared';
 | 
			
		||||
import { fromEvent, Subscription } from 'rxjs';
 | 
			
		||||
@ -24,7 +25,7 @@ import { debounceTime } from 'rxjs/operators';
 | 
			
		||||
@Component({
 | 
			
		||||
  template: ''
 | 
			
		||||
})
 | 
			
		||||
export class BasicTableComponent implements AfterViewInit, OnDestroy {
 | 
			
		||||
export class BasicTableComponent implements AfterViewInit, OnDestroy, OnReuseDestroy {
 | 
			
		||||
  scrollY = '400px';
 | 
			
		||||
 | 
			
		||||
  sf!: SFComponent;
 | 
			
		||||
@ -35,6 +36,9 @@ export class BasicTableComponent implements AfterViewInit, OnDestroy {
 | 
			
		||||
  deviationHeight = 0;
 | 
			
		||||
 | 
			
		||||
  constructor(public searchDrawerService: SearchDrawerService) {}
 | 
			
		||||
  _onReuseDestroy(): void {
 | 
			
		||||
    this.drawer.forEach(sub => sub.unsubscribe());
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  ngAfterViewInit(): void {
 | 
			
		||||
    setTimeout(() => {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user