提交 a739a381 编写于 作者: Q qq_38870145

Sat Mar 9 22:10:00 CST 2024 inscode

上级 58651c29
......@@ -26,9 +26,12 @@ const initLeftChart = () => {
console.log(Object.keys(performance.timing))
const label = []
const data = []
for (let key in performance.timing) {
label.push(key)
data.push(performance.timing[key])
for ( let key in performance.timing) {
if (performance.timing.hasOwnProperty(key)) {
label.push(key)
data.push(performance.timing[key])
}
}
const myChart = echarts.init(domInstance);
const option = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册