fix: 修改 type类型字段 跟接口一直 修改misc 显示错误的问题

This commit is contained in:
zhangyu
2021-12-17 14:47:21 +08:00
parent 8cec356014
commit b91fed6f83
7 changed files with 32 additions and 23 deletions

View File

@@ -101,7 +101,7 @@
</el-form-item>
</div>
<!--content-->
<div v-if="!isGroup(chartConfig.type)" class="form__sub-title">
<div v-if="contentShow(chartConfig.type)" class="form__sub-title">
<span>{{$t('dashboard.panel.chartForm.content')}}</span>
<span style="cursor: pointer" v-if="isDiagram(chartConfig.type)"><i class="nz-icon nz-icon-edit" @click="topologyDialogChange(true)"></i></span>
</div>
@@ -171,11 +171,11 @@ export default {
name: this.$t('dashboard.panel.chartForm.typeVal.map.label')
},
{
id: 'carousel',
name: this.$t('dashboard.panel.chartForm.typeVal.carousel.label')
id: 'topology',
name: this.$t('dashboard.panel.chartForm.typeVal.topology.label')
},
{
id: 'hexagonFigure',
id: 'hexagon',
name: this.$t('dashboard.panel.chartForm.typeVal.hexagonFigure.label')
}
]