|
@@ -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;
|