Karsa 1 anno fa
parent
commit
90314a1124
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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});