Karsa 1 éve
szülő
commit
a1bdf9bd4d
1 módosított fájl, 1 hozzáadás és 3 törlés
  1. 1 3
      src/views/chartShow/index.vue

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

@@ -1712,14 +1712,12 @@ export default defineComponent({
     const refreshChart = _.debounce(async () => {
       loading.value = true;
       let res: any=null
-      if([1,6,7,8,9].includes(state.chartInfo.Source)){
+      if([1,6,7,8,9,10].includes(state.chartInfo.Source)){
         res=await ChartApi.refreshChart({UniqueCode: state.chartInfo.UniqueCode})
       }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});
-      }else if(state.chartInfo.Source===10) {
-        res = await ChartApi.refreshCrossVarietyChart({UniqueCode: state.chartInfo.UniqueCode})
       }
       
       loading.value = false;