fix: 修改 复制 groupId = 0 的问题 以及 删除other的hexagon

This commit is contained in:
zhangyu
2021-12-29 18:12:40 +08:00
parent 3ca8fa34e1
commit 11ce32e73e
3 changed files with 6 additions and 4 deletions

View File

@@ -378,6 +378,9 @@ export default {
if (this.chart.datasource !== 'metrics' && this.chart.datasource !== 'log') {
delete this.chart.elements
}
if (!this.chart.groupId || this.chart.groupId == -1) {
this.chart.groupId = ''
}
} else {
this.rightBox.loading = true
this.$get('visual/panel/chart/' + data.id).then(res => {