@@ -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)
}
})
@@ -490,12 +490,14 @@ export default {
/* 选择期货 */
changeFuturesHandle(val) {
if(!val) return
+ this.xAxisList=[]
this.handleRefreshChartData()
},
// 日期基准变更
handleBasisEdbChange(val){
@@ -1037,7 +1037,7 @@ export default {
return temArr;