fix: 修改新增chart 参数的相关问题

This commit is contained in:
zhangyu
2021-12-06 11:40:06 +08:00
parent 1383969fb2
commit 39c94f5dec
7 changed files with 58 additions and 34 deletions

View File

@@ -665,8 +665,8 @@ export default {
name: this.$t('dashboard.panel.chartForm.typeVal.point.label')
},
{
id: 'singleStat',
name: this.$t('dashboard.panel.chartForm.typeVal.singleStat.label')
id: 'stat',
name: this.$t('dashboard.panel.chartForm.typeVal.stat.label')
},
{
id: 'bar',
@@ -731,7 +731,7 @@ export default {
this.chartConfig.param.thresholds.push({ value: undefined, color: '#eeeeeeff' })
})
break
case 'singleStat':
case 'stat':
case 'bar':
case 'treemap':
case 'pie':