Karsa 2 years ago
parent
commit
1b97c5a893
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/hzyb/chart/Detail.vue

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

@@ -657,7 +657,7 @@ const setCommodityChart = () => {
                     // 利润曲线指标名
                     let edb_name = resData.value.ChartInfo.Source === 5 
                     ? (index === 0 ? obj_item.NameList[index] : `${resData.value.DataResp.ProfitName}(${obj_item.NameList[index]})`)
-                    : commodityEdbList.find(_ => _.EdbInfoId === obj_item.XEdbInfoIdList[index]).EdbName;
+                    : commodityEdbList.value.find(_ => _.EdbInfoId === obj_item.XEdbInfoIdList[index]).EdbName;
                     str+=`<b>${ edb_name }</b>`
 
                     if(!obj_item.NoDataEdbList.includes(obj_item.XEdbInfoIdList[index])) {