jwyu 1 سال پیش
والد
کامیت
fc194088f8

+ 1 - 1
src/views/dataEntry_manage/mixins/chartPublic.js

@@ -1743,7 +1743,7 @@ export const chartSetMixin = {
         let temArr=[]
         this.commodityXData.forEach((i,index)=>{
           if(i.IsHide!==1){
-            temArr.push(arr[index])
+            temArr.push(arr[index]||null)
           }
         })
 

+ 2 - 0
src/views/futures_manage/chartEditor.vue

@@ -490,12 +490,14 @@ export default {
 		/* 选择期货 */
 		changeFuturesHandle(val) {
 			if(!val) return
+			this.xAxisList=[]
 			this.handleRefreshChartData()
 		},
 
 		// 日期基准变更
 		handleBasisEdbChange(val){
 			if(!val) return
+			this.xAxisList=[]
 			this.handleRefreshChartData()
 		},
 

+ 1 - 1
src/views/ppt_manage/mixins/mixins.js

@@ -1037,7 +1037,7 @@ export default {
         let temArr=[]
         this.commodityXData.forEach((i,index)=>{
           if(i.IsHide!==1){
-            temArr.push(arr[index])
+            temArr.push(arr[index]||null)
           }
         })
         return temArr;