Karsa 1 năm trước cách đây
mục cha
commit
baa5ccc235
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/chartShow/index.vue

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

@@ -1475,7 +1475,7 @@ export default defineComponent({
     const refreshChart = _.debounce(async () => {
       loading.value = true;
       let res: any=null
-      if(state.chartInfo.Source === 1){
+      if([1,6].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});