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