fix bug
This commit is contained in:
@ -33,7 +33,9 @@ export class BusitableCurveComponent implements OnInit, OnChanges {
|
||||
}
|
||||
render(el: ElementRef<HTMLDivElement>): void {
|
||||
this.el = el.nativeElement
|
||||
this.ngZone.runOutsideAngular(() => this.init(this.el));
|
||||
if(!this.service.http.loading){
|
||||
this.ngZone.runOutsideAngular(() => this.init(this.el));
|
||||
}
|
||||
}
|
||||
|
||||
private init(el: HTMLElement): void {
|
||||
|
||||
Reference in New Issue
Block a user