fix:修改切换时区后 noData的chart时间轴时间不对的问题

This commit is contained in:
zhangyu
2021-03-16 17:35:16 +08:00
parent 1583778960
commit a641968317
2 changed files with 6 additions and 2 deletions

View File

@@ -539,6 +539,10 @@
getOption:function(type){
return JSON.parse(JSON.stringify(chartTypes[type].option));
},
getOptionNoData:function(type){
chartTypes[type].option.xAxis.data= createTempTimes();
return JSON.parse(JSON.stringify(chartTypes[type].option));
},
setMap:function(map){
mapOptions.geo.map=map
},