This commit is contained in:
Lingzi
2022-04-06 10:57:58 +08:00
parent a2becf2105
commit 5a2a668168
8 changed files with 13 additions and 20 deletions

View File

@ -33,9 +33,7 @@ export class BusitableCurveComponent implements OnInit, OnChanges {
}
render(el: ElementRef<HTMLDivElement>): void {
this.el = el.nativeElement
if(!this.service.http.loading){
this.ngZone.runOutsideAngular(() => this.init(this.el));
}
this.ngZone.runOutsideAngular(() => this.init(this.el));
}
private init(el: HTMLElement): void {