NEZ-1594 fix:Chart templates新增数据后,单击编辑按钮Metric内表达式消失
This commit is contained in:
@@ -779,6 +779,7 @@ export default {
|
|||||||
this.chartConfig.elements.forEach(item => {
|
this.chartConfig.elements.forEach(item => {
|
||||||
this.addExpression(item)
|
this.addExpression(item)
|
||||||
})
|
})
|
||||||
|
this.expressionChange()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
chartTypeChange (type) {
|
chartTypeChange (type) {
|
||||||
|
|||||||
@@ -402,7 +402,8 @@ export default {
|
|||||||
name: this.editChart.name,
|
name: this.editChart.name,
|
||||||
remark: this.editChart.remark,
|
remark: this.editChart.remark,
|
||||||
groupId: this.editChart.groupId,
|
groupId: this.editChart.groupId,
|
||||||
panelName: this.editChart.panelName
|
panelName: this.editChart.panelName,
|
||||||
|
varType: this.editChart.varType
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
preview (show) {
|
preview (show) {
|
||||||
|
|||||||
Reference in New Issue
Block a user