Karsa пре 1 година
родитељ
комит
90314a1124
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/chartShow/index.vue

+ 1 - 1
src/views/chartShow/index.vue

@@ -1469,7 +1469,7 @@ export default defineComponent({
       let res: any=null
       if(state.chartInfo.Source === 1){
         res=await ChartApi.refreshChart({UniqueCode: state.chartInfo.UniqueCode})
-      }else if(state.chartInfo.Source === 2){
+      }else if([2,5].includes(state.chartInfo.Source)){
         res=await ChartApi.refreshCommordityChart({UniqueCode: state.chartInfo.UniqueCode});
       }else if([3,4].includes(state.chartInfo.Source)){
         res=await ChartApi.refreshRelevanceChart({UniqueCode: state.chartInfo.UniqueCode});