diff --git a/src/views/historyDetail/historyDetail.vue b/src/views/historyDetail/historyDetail.vue index c788db4..13b94bc 100644 --- a/src/views/historyDetail/historyDetail.vue +++ b/src/views/historyDetail/historyDetail.vue @@ -32,7 +32,10 @@ function initChart(a: any, b: any, c: any, d: any, e?: any, f?: any) { const chart1 = echarts.init(c); const option = { tooltip: { - trigger: 'axis' + trigger: 'axis', + valueFormatter: function (value) { + return value + f; + } }, dataZoom: [ {