From d06d8cfedc66130a4332b62df2108876835a51cf Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 19 May 2021 18:53:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=A7=86=E5=9B=BE):title=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=20bug=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chart/components/component-style/TitleSelector.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/chart/components/component-style/TitleSelector.vue b/frontend/src/views/chart/components/component-style/TitleSelector.vue index 1d539dec55..2b4424daf4 100644 --- a/frontend/src/views/chart/components/component-style/TitleSelector.vue +++ b/frontend/src/views/chart/components/component-style/TitleSelector.vue @@ -73,8 +73,8 @@ export default { } else { customStyle = JSON.parse(chart.customStyle) } - if (customStyle.background) { - this.colorForm = customStyle.background + if (customStyle.text) { + this.titleForm = customStyle.text } } }