From 12e3570171e2891269d9b5e2a1c1f15a1ab87f4f Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Fri, 1 Apr 2022 21:18:10 +0800 Subject: [PATCH] fix config --- src/views/dashboard/controls/Text.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/dashboard/controls/Text.vue b/src/views/dashboard/controls/Text.vue index 0dd0bc3b..abdb1abb 100644 --- a/src/views/dashboard/controls/Text.vue +++ b/src/views/dashboard/controls/Text.vue @@ -38,12 +38,17 @@ limitations under the License. --> class="body" :style="{ backgroundColor: TextColors[graph.backgroundColor], - color: TextColors[graph.fontColor], - fontSize: graph.fontSize + 'px', textAlign: graph.textAlign, }" > - + {{ graph.content }}