Karsa 2 年之前
父節點
當前提交
1b97c5a893
共有 1 個文件被更改,包括 1 次插入1 次删除
  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])) {