From f7d802ab978c8aca42b8c7dd14017f4831699876 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu Date: Sun, 15 Aug 2021 00:19:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=AF=E7=94=A8=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E6=9C=AA=E5=BA=94=E7=94=A8=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.vue b/src/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.vue index f117ef49..24c30d0c 100644 --- a/src/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.vue +++ b/src/views/Editor/Toolbar/ElementStylePanel/TableStylePanel.vue @@ -216,6 +216,7 @@ export default defineComponent({ const store = useStore() const handleElement = computed(() => store.getters.handleElement) const selectedCells = computed(() => store.state.selectedTableCells) + const themeColor = computed(() => store.state.theme.themeColor) const availableFonts = computed(() => store.state.availableFonts) const fontSizeOptions = [ @@ -335,7 +336,7 @@ export default defineComponent({ if (checked) { const props = { theme: { - color: '#d14424', + color: themeColor.value, rowHeader: true, rowFooter: false, colHeader: false,