fix:修改单位

This commit is contained in:
zhaohy
2024-09-03 17:30:26 +08:00
parent 8ec8bcd494
commit 4145353928

View File

@@ -111,7 +111,7 @@
}
});
};
const getChatr = (data) => {
const getChatr = (data: any) => {
if (chartInstance) {
chartInstance.dispose();
}
@@ -215,7 +215,7 @@
axisLabel: {
show: true, // 显示
formatter: function (value: any) {
return value + ' ' + data.unit; // 在刻度值后加上单位
return value + data.unit; // 在刻度值后加上单位
},
},
},