NEZ-2436 fix:chart编辑页面 Threshold 删除时颜色选框不同步
This commit is contained in:
@@ -480,7 +480,7 @@
|
|||||||
<el-row v-if="chartConfig.param.enable.thresholds && isThresholdConfig(chartConfig.type)">
|
<el-row v-if="chartConfig.param.enable.thresholds && isThresholdConfig(chartConfig.type)">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-for="(item,index) in chartConfig.param.thresholds"
|
v-for="(item,index) in chartConfig.param.thresholds"
|
||||||
:key="item.color"
|
:key="item.color + '' + index"
|
||||||
class="thresholds-item"
|
class="thresholds-item"
|
||||||
:prop="'param.thresholds.' + index + '.value'"
|
:prop="'param.thresholds.' + index + '.value'"
|
||||||
:rules="{ required: true, message: $t('validate.required'), trigger: 'blur'}"
|
:rules="{ required: true, message: $t('validate.required'), trigger: 'blur'}"
|
||||||
|
|||||||
@@ -396,7 +396,7 @@
|
|||||||
<el-row v-if="chartConfig.param.enable.thresholds && isThresholdConfig(chartConfig.type)">
|
<el-row v-if="chartConfig.param.enable.thresholds && isThresholdConfig(chartConfig.type)">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-for="(item,index) in chartConfig.param.thresholds"
|
v-for="(item,index) in chartConfig.param.thresholds"
|
||||||
:key="index"
|
:key="item.color + '' + index"
|
||||||
class="thresholds-item"
|
class="thresholds-item"
|
||||||
:prop="'param.thresholds.' + index + '.value'"
|
:prop="'param.thresholds.' + index + '.value'"
|
||||||
:rules="{ required: true, message: $t('validate.required'), trigger: 'blur'}"
|
:rules="{ required: true, message: $t('validate.required'), trigger: 'blur'}"
|
||||||
|
|||||||
Reference in New Issue
Block a user