fix:修改 chartBox修改时type为 singleStat expression可以添加多个的问题以及处理侧滑样式错乱的问题

This commit is contained in:
zhangyu
2021-01-21 15:56:39 +08:00
parent 391e34c0cf
commit dd5230a54a

View File

@@ -64,7 +64,7 @@
height: 100vh; height: 100vh;
top: 0; top: 0;
left: 0; left: 0;
/*z-index: 2100;*/ z-index: 1;
} }
/deep/ .el-color-picker{ /deep/ .el-color-picker{
position: absolute; position: absolute;
@@ -1247,6 +1247,8 @@
this.$refs.alertParamBox.setData(data) this.$refs.alertParamBox.setData(data)
}) })
//this.elements=[1]; //this.elements=[1];
}else if(this.editChart.type==='singleStat'){
this.setIsSingleStat();
}else{ }else{
if((this.editChart.type==='line'||this.editChart.type==='bar'||this.editChart.type==='stackArea'||this.editChart.type==='singleStat')&&data.param){ if((this.editChart.type==='line'||this.editChart.type==='bar'||this.editChart.type==='stackArea'||this.editChart.type==='singleStat')&&data.param){
this.editChart.param.threshold=data.param.threshold; this.editChart.param.threshold=data.param.threshold;