mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-19 23:50:25 +08:00
优化代码
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user