From 4d6e35fb2590738f1dd2939d660eaf5e1edcb080 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 28 Mar 2022 21:38:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E4=B8=8D=E5=AE=9E=E6=97=B6=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/custom-component/UserView.vue | 1 + frontend/src/views/chart/view/ChartEdit.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/src/components/canvas/custom-component/UserView.vue b/frontend/src/components/canvas/custom-component/UserView.vue index c276643a96..40bd7e0bfa 100644 --- a/frontend/src/components/canvas/custom-component/UserView.vue +++ b/frontend/src/components/canvas/custom-component/UserView.vue @@ -757,6 +757,7 @@ export default { this.chart.customAttr = param.viewInfo.customAttr this.chart.customStyle = param.viewInfo.customStyle this.chart.senior = param.viewInfo.senior + this.chart.title = param.viewInfo.title this.sourceCustomAttrStr = this.chart.customAttr this.sourceCustomStyleStr = this.chart.customStyle this.mergeScale() diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index aa4e9d5a8d..7243d2af45 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -1717,6 +1717,7 @@ export default { view.customStyle = JSON.stringify(this.view.customStyle) view.customFilter = JSON.stringify(this.view.customFilter) view.senior = JSON.stringify(this.view.senior) + view.title = JSON.stringify(this.view.title) // view.data = this.data this.chart = view