fix:修改chart预览的时候last不生效的问题 以及type为table时的value值的颜色不是按照范围来的

This commit is contained in:
zhangyu
2020-12-07 11:08:18 +08:00
parent 1120bef05a
commit 59ae4e3efe
3 changed files with 15 additions and 2 deletions

View File

@@ -1432,6 +1432,7 @@
}
params.param.nullType=this.editChart.param.nullType;
params.param.legendValue=this.editChart.param.legendValue;
params.param.last=this.editChart.param.last;
} else {
delete params.param.threshold;
delete params.param.nullType;
@@ -1446,6 +1447,7 @@
});
});
params.elements = elements;
console.log(params,'params');
if (valid) {
this.$refs.chartsPreview.show(params);
}