feat:line-cahrt-block添加可以隐藏标题的功能

This commit is contained in:
zhangyu
2021-01-29 19:08:01 +08:00
parent ff040a4e63
commit 1f78dd3bf4

View File

@@ -7,7 +7,7 @@
<div class="resize-box resize-box-echarts" ref="resizeBox">
<div class="line-chart-block" :id="'lineChartDiv'+chartIndex" @mouseenter="mouseEnterChart" @mouseleave="mouseLeaveChart">
<loading :ref="'localLoading'+chartIndex"></loading>
<div :class="{'drag-disabled': this.filter.from == $CONSTANTS.fromRoute.rule}" :id="'chartTitle'+chartIndex" class="clearfix chartTitle" >
<div :class="{'drag-disabled': this.filter.from == $CONSTANTS.fromRoute.rule}" :id="'chartTitle'+chartIndex" class="clearfix chartTitle" v-if="chartTitleShow">
<el-popover
v-if="isError"
placement="top-start"
@@ -220,7 +220,11 @@
},
tempDom: Object,
from: {type: String},
isLock:{type:Boolean,default:false}
isLock:{type:Boolean,default:false},
chartTitleShow:{
type:Boolean,
default:true
}
},
computed: {
getButtonCode() {