优化代码

This commit is contained in:
刘祥超
2022-08-20 20:31:00 +08:00
parent f25a82585f
commit c5a6497f10

View File

@@ -561,6 +561,7 @@ window.teaweb = {
let chartBox = document.getElementById(chartId) let chartBox = document.getElementById(chartId)
if (chartBox == null) { if (chartBox == null) {
console.error("chart id '" + chartId + "' not found")
return return
} }
let chart = this.initChart(chartBox) let chart = this.initChart(chartBox)