Browse Source

商品价格曲线数值等于0不显示bug

jwyu 7 months ago
parent
commit
b9821df6fa
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

@@ -1052,7 +1052,7 @@ const filterInvalidData = (item)=> {
     let temArr=[]
     let temArr=[]
     commodityXData.value.forEach((i,index)=>{
     commodityXData.value.forEach((i,index)=>{
         if(i.IsHide!==1){
         if(i.IsHide!==1){
-            temArr.push(arr[index]||null)
+            temArr.push(arr[index])
         }
         }
     })
     })