NEZ-2436 fix:chart编辑页面 Threshold 删除时颜色选框不同步

This commit is contained in:
zhangyu
2022-12-02 16:29:59 +08:00
parent 8f44f390ab
commit 7683e38fa8
2 changed files with 2 additions and 2 deletions

View File

@@ -480,7 +480,7 @@
<el-row v-if="chartConfig.param.enable.thresholds && isThresholdConfig(chartConfig.type)">
<el-form-item
v-for="(item,index) in chartConfig.param.thresholds"
:key="item.color"
:key="item.color + '' + index"
class="thresholds-item"
:prop="'param.thresholds.' + index + '.value'"
:rules="{ required: true, message: $t('validate.required'), trigger: 'blur'}"