代码调整
This commit is contained in:
parent
c2989e538f
commit
0795ab58d9
@ -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'>" +
|
||||||
|
Loading…
Reference in New Issue
Block a user