diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue index 5ebaa4666..289992d0e 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue @@ -779,6 +779,7 @@ export default { this.chartConfig.elements.forEach(item => { this.addExpression(item) }) + this.expressionChange() } }, chartTypeChange (type) { diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue index dac428d55..7893ff19c 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue @@ -402,7 +402,8 @@ export default { name: this.editChart.name, remark: this.editChart.remark, groupId: this.editChart.groupId, - panelName: this.editChart.panelName + panelName: this.editChart.panelName, + varType: this.editChart.varType } }, preview (show) {