Karsa před 2 roky
rodič
revize
ff1ee3e3e2
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

@@ -1448,7 +1448,7 @@ export default defineComponent({
         res=await ChartApi.refreshChart({UniqueCode: state.chartInfo.UniqueCode})
       }else if(state.chartInfo.Source === 2){
         res=await ChartApi.refreshCommordityChart({UniqueCode: state.chartInfo.UniqueCode});
-      }else if(state.chartInfo.Source === 3){
+      }else if([3,4].includes(state.chartInfo.Source)){
         res=await ChartApi.refreshRelevanceChart({UniqueCode: state.chartInfo.UniqueCode});
       }
       loading.value = false;