diff --git a/src/app/routes/datatable/components/busitable/busiindex/curve/curve.component.ts b/src/app/routes/datatable/components/busitable/busiindex/curve/curve.component.ts index 118cd472..00d9e8b5 100644 --- a/src/app/routes/datatable/components/busitable/busiindex/curve/curve.component.ts +++ b/src/app/routes/datatable/components/busitable/busiindex/curve/curve.component.ts @@ -31,7 +31,9 @@ export class BusitableCurveComponent implements OnInit, OnChanges { } render(el: ElementRef): void { this.el = el.nativeElement - this.ngZone.runOutsideAngular(() => this.init(this.el)); + setTimeout(() => { + this.ngZone.runOutsideAngular(() => this.init(this.el)); + }, 500) } private init(el: HTMLElement): void { diff --git a/src/app/routes/datatable/components/busitable/pillar/pillar.component.ts b/src/app/routes/datatable/components/busitable/pillar/pillar.component.ts index 602edc17..ddb0569b 100644 --- a/src/app/routes/datatable/components/busitable/pillar/pillar.component.ts +++ b/src/app/routes/datatable/components/busitable/pillar/pillar.component.ts @@ -31,7 +31,9 @@ export class BusitablePillarComponent implements OnInit, OnChanges { } render(el: ElementRef): void { this.el = el.nativeElement - this.ngZone.runOutsideAngular(() => this.init(this.el)); + setTimeout(() => { + this.ngZone.runOutsideAngular(() => this.init(this.el)); + }, 500) } private init(el: HTMLElement): void { diff --git a/src/app/routes/datatable/components/customtable/customindex/customindex.component.html b/src/app/routes/datatable/components/customtable/customindex/customindex.component.html index 8816fdf1..4583cab7 100644 --- a/src/app/routes/datatable/components/customtable/customindex/customindex.component.html +++ b/src/app/routes/datatable/components/customtable/customindex/customindex.component.html @@ -39,7 +39,7 @@ + [page]="{ show: true, showSize: true, pageSizes: [20, 50, 100] }"> diff --git a/src/app/routes/datatable/components/customtable/driver/driver.component.html b/src/app/routes/datatable/components/customtable/driver/driver.component.html index 9deaefbd..383fe343 100644 --- a/src/app/routes/datatable/components/customtable/driver/driver.component.html +++ b/src/app/routes/datatable/components/customtable/driver/driver.component.html @@ -41,6 +41,6 @@ + [page]="{ show: true, showSize: true, pageSizes: [20, 50, 100] }"> \ No newline at end of file diff --git a/src/app/routes/datatable/components/customtable/owner/owner.component.html b/src/app/routes/datatable/components/customtable/owner/owner.component.html index 9777a490..e805efd9 100644 --- a/src/app/routes/datatable/components/customtable/owner/owner.component.html +++ b/src/app/routes/datatable/components/customtable/owner/owner.component.html @@ -41,6 +41,6 @@ > + [page]="{ show: true, showSize: true, pageSizes: [20, 50, 100] }"> \ No newline at end of file diff --git a/src/app/routes/datatable/components/customtable/partnertable/partnertable.component.html b/src/app/routes/datatable/components/customtable/partnertable/partnertable.component.html index 4a9e9f95..4d75b400 100644 --- a/src/app/routes/datatable/components/customtable/partnertable/partnertable.component.html +++ b/src/app/routes/datatable/components/customtable/partnertable/partnertable.component.html @@ -37,7 +37,7 @@ + [page]="{ show: true, showSize: true, pageSizes: [20, 50, 100] }"> \ No newline at end of file diff --git a/src/app/routes/datatable/components/operationtable/curve/curve.component.ts b/src/app/routes/datatable/components/operationtable/curve/curve.component.ts index ce105bbc..8f163963 100644 --- a/src/app/routes/datatable/components/operationtable/curve/curve.component.ts +++ b/src/app/routes/datatable/components/operationtable/curve/curve.component.ts @@ -33,9 +33,9 @@ export class OperationCurveComponent implements OnInit, OnChanges { } render(el: ElementRef): void { this.el = el.nativeElement - if(!this.service.http.loading){ + setTimeout(() => { this.ngZone.runOutsideAngular(() => this.init(this.el)); - } + },500) } private init(el: HTMLElement): void { diff --git a/src/app/routes/datatable/components/operationtable/pillar/pillar.component.ts b/src/app/routes/datatable/components/operationtable/pillar/pillar.component.ts index 3f056a81..b78f500f 100644 --- a/src/app/routes/datatable/components/operationtable/pillar/pillar.component.ts +++ b/src/app/routes/datatable/components/operationtable/pillar/pillar.component.ts @@ -33,9 +33,9 @@ export class OperationPillarComponent implements OnInit, OnChanges { } render(el: ElementRef): void { this.el = el.nativeElement - if(!this.service.http.loading){ - this.ngZone.runOutsideAngular(() => this.init(this.el)); - } + setTimeout(() => { + this.ngZone.runOutsideAngular(() => this.init(this.el)); + }, 500) } private init(el: HTMLElement): void {