|
@@ -78,10 +78,7 @@ private initCharts() {
|
|
|
setTimeout(() => { // 添加延迟确保DOM就绪
|
|
|
try {
|
|
|
if (!this.trendChartEl?.nativeElement || !this.eventChartEl?.nativeElement) {
|
|
|
- console.error('图表容器未找到:', {
|
|
|
- trend: this.trendChartEl,
|
|
|
- event: this.eventChartEl
|
|
|
- });
|
|
|
+ console.error('图表容器未找到');
|
|
|
return;
|
|
|
}
|
|
|
|