fix: 处理参数为空时 传递之前参数的问题
This commit is contained in:
@@ -1122,6 +1122,8 @@ export default {
|
||||
this.expressions.forEach((expr, i) => {
|
||||
this.editChart.elements.push({ id: this.elementIds[i], expression: expr, type: 'expert', legend: this.legends[i] })
|
||||
})
|
||||
} else {
|
||||
this.editChart.elements = []
|
||||
}
|
||||
if (this.editChart.id) {
|
||||
this.updateCharts()
|
||||
|
||||
Reference in New Issue
Block a user