let aa=this.elementRef.nativeElement.querySelector('.logBox') ; 转载于:https://www.cnblogs.com/fuzitu/p/9639730.html