fix: 预览页面的添加

This commit is contained in:
zhangyu
2021-12-23 17:02:21 +08:00
parent b95c4c792d
commit 551d3288ab
3 changed files with 46 additions and 6 deletions

View File

@@ -392,13 +392,13 @@
<div class="form__sub-title">
<span>{{$t('dashboard.panel.chartForm.threshold')}}</span>
<el-switch
v-model="chartConfig.param.thresholdShow"
v-model="chartConfig.param.enable.thresholds"
size="small"
@change="thresholdShowChange"
></el-switch>
</div>
<transition name="el-zoom-in-top">
<el-row v-if="chartConfig.param.thresholdShow">
<el-row v-if="chartConfig.param.enable.thresholds">
<el-form-item
v-for="(item,index) in chartConfig.param.thresholds"
:key="index"