From 4896e66558e26d44c041fb06e596bd8aaded7055 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Mon, 3 Apr 2023 19:42:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE-=E7=AC=A6=E5=8F=B7?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE):=20=E4=BF=AE=E5=A4=8D=E7=AC=A6=E5=8F=B7?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=B6=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=BB=E9=A2=98=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/utils/style.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/canvas/utils/style.js b/frontend/src/components/canvas/utils/style.js index 448ac7e418..b7cc3dd182 100644 --- a/frontend/src/components/canvas/utils/style.js +++ b/frontend/src/components/canvas/utils/style.js @@ -346,14 +346,14 @@ export function adaptCurTheme(customStyle, customAttr, chartType) { recursionThemTransObj(THEME_ATTR_TRANS_SLAVE1_BACKGROUND, customAttr, LIGHT_THEME_COMPONENT_BACKGROUND) if (chartType === 'symbol-map') { // 符号地图特殊处理 - Vue.set(customStyle['baseMapStyle'], 'baseMapTheme', 'light') + Vue.set(customStyle, 'baseMapStyle', { baseMapTheme: 'light' }) } } else { recursionThemTransObj(THEME_STYLE_TRANS_MAIN, customStyle, DARK_THEME_COLOR_MAIN) recursionThemTransObj(THEME_STYLE_TRANS_SLAVE1, customStyle, DARK_THEME_COLOR_SLAVE1) if (chartType === 'symbol-map') { // 符号地图特殊处理 - Vue.set(customStyle['baseMapStyle'], 'baseMapTheme', 'dark') + Vue.set(customStyle, 'baseMapStyle', { baseMapTheme: 'dark' }) recursionThemTransObj(THEME_ATTR_TRANS_MAIN_SYMBOL, customAttr, '#000000') } else { recursionThemTransObj(THEME_ATTR_TRANS_MAIN, customAttr, DARK_THEME_COLOR_MAIN)