Karsa před 1 rokem
rodič
revize
90314a1124
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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});