fix: 修改 复制 groupId = 0 的问题 以及 删除other的hexagon
This commit is contained in:
@@ -429,6 +429,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 => {
|
||||
|
||||
Reference in New Issue
Block a user