feat:替换颜色选择器 删除页面console

This commit is contained in:
zhangyu
2021-03-17 15:49:47 +08:00
parent 1ca749dfda
commit 93c9016c3e
21 changed files with 469 additions and 391 deletions

View File

@@ -769,7 +769,6 @@
this.chartType = 'line';
}
this.echartModalStore = echarts.init(ele);
console.log('height',ele.clientWidth,ele.clientHeight)
var chartWidth = ele.clientWidth;
var title = {
show:false,
@@ -1107,7 +1106,6 @@
let self=this;
let dom = document.getElementById('screenShowArea')
this.echartModalStore = echarts.init(dom)
console.log('dom',dom.clientWidth,dom.clientHeight)
this.showLegend = true;
if(legend){
this.screenLegendList = [];
@@ -1129,7 +1127,6 @@
if(dataArg[0].data.length<1){
this.echartModalStore.setOption(chartConfig.getOption('noData'))
}else{
console.log(option)
this.echartModalStore.setOption(option);//创建图表
}