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-form-item
|
||||
v-for="(item,index) in chartConfig.param.thresholds"
|
||||
:key="index"
|
||||
:key="item.color"
|
||||
class="thresholds-item"
|
||||
:prop="'param.thresholds.' + index + '.value'"
|
||||
:rules="{ required: true, message: $t('validate.required'), trigger: 'blur'}"
|
||||
|
||||
Reference in New Issue
Block a user