diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Intermodulation/components/LineChartForTraffic/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Intermodulation/components/LineChartForTraffic/index.vue index 9b9c244d..b4da1653 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Intermodulation/components/LineChartForTraffic/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Intermodulation/components/LineChartForTraffic/index.vue @@ -24,6 +24,7 @@ export default { options.yAxis.axisLabel.fontSize = 11; options.xAxis.data = this.xData; options.series[0].data = this.yData; + options.tooltip.formatter = "{b}:{c}辆"; chartIns.setOption(options); }, }