代码调整
This commit is contained in:
parent
c2989e538f
commit
0795ab58d9
@ -104,6 +104,7 @@ function initEcharts() {
|
||||
},
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
// eslint-disable-next-line
|
||||
formatter: function (params: any) {
|
||||
let title = params[0].axisValueLabel;
|
||||
let result = `<div
|
||||
@ -132,6 +133,7 @@ function initEcharts() {
|
||||
"
|
||||
>
|
||||
`;
|
||||
// eslint-disable-next-line
|
||||
params.forEach((item: any, index: number) => {
|
||||
result +=
|
||||
"<div style='height: 28px;line-height:28px'>" +
|
||||
|
Loading…
Reference in New Issue
Block a user