From 3827850a68c666e1791879c78b094942e8af4423 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 25 Feb 2022 09:32:15 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1594=20fix=EF=BC=9AChart=20templates?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=95=B0=E6=8D=AE=E5=90=8E=EF=BC=8C=E5=8D=95?= =?UTF-8?q?=E5=87=BB=E7=BC=96=E8=BE=91=E6=8C=89=E9=92=AEMetric=E5=86=85?= =?UTF-8?q?=E8=A1=A8=E8=BE=BE=E5=BC=8F=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/rightBox/chart/chartConfig.vue | 1 + .../src/components/common/rightBox/chart/chartRightBox.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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) {