fix: 修改table新增有多余参数的问题

This commit is contained in:
zhangyu
2021-12-15 09:51:04 +08:00
parent 8452916491
commit 06cc43e340
2 changed files with 6 additions and 1 deletions

View File

@@ -415,6 +415,9 @@ export default {
if (!this.chart.groupId || this.chart.groupId == -1) {
this.chart.groupId = ''
}
if (this.chart.type == 'table') {
this.chart.param.tags = this.chart.param.indexs ? this.chart.param.indexs.split(',') : []
}
} else {
this.$message.error(res.msg)
}