代码调整

This commit is contained in:
dong 2023-10-13 16:24:19 +08:00
parent c2989e538f
commit 0795ab58d9

View File

@ -104,6 +104,7 @@ function initEcharts() {
}, },
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
// eslint-disable-next-line
formatter: function (params: any) { formatter: function (params: any) {
let title = params[0].axisValueLabel; let title = params[0].axisValueLabel;
let result = `<div let result = `<div
@ -132,6 +133,7 @@ function initEcharts() {
" "
> >
`; `;
// eslint-disable-next-line
params.forEach((item: any, index: number) => { params.forEach((item: any, index: number) => {
result += result +=
"<div style='height: 28px;line-height:28px'>" + "<div style='height: 28px;line-height:28px'>" +