refactor(视图): 切换数据集动态值重置

This commit is contained in:
junjun 2022-08-29 11:03:06 +08:00
parent 7edebc36cd
commit 8616f0e2d2

View File

@ -2264,6 +2264,9 @@ export default {
this.view.tableId = this.changeTable.id
//
post('/chart/field/deleteByChartId/' + this.param.id + '/' + this.panelInfo.id, null).then(response => {
// reset gauge
this.view.customAttr.size.gaugeMinType = 'fix'
this.view.customAttr.size.gaugeMaxType = 'fix'
this.calcData(true, 'chart', false)
this.initTableData(this.view.tableId, optType)
this.closeChangeChart()