浏览代码

Merge branch 'need_pool304'

Karsa 1 年之前
父节点
当前提交
107bc0c6b2
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/hzyb/chart/Detail.vue

+ 2 - 1
src/views/hzyb/chart/Detail.vue

@@ -547,6 +547,7 @@ const initBarData = (data) => {
 const setBarChart = () => {
     let seriesData = [];
     const data = _.cloneDeep(barDateList.value);
+    const { ChartInfo } = resData.value;
 
     //x轴
     let xAxis = {
@@ -568,7 +569,7 @@ const setBarChart = () => {
     let yAxis = {
         ...basicYAxis,
         title: {
-            text:  ``,
+            text: ChartInfo.Unit,
             align: 'high',
             rotation: 0,
             y: -15,