From 1b2bc046a8ee02047e704366c229dee9ea8f229c Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 3 Dec 2024 11:08:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=BE=B9=E6=A1=86?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E6=94=B9=E5=8F=98=E6=97=B6=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E4=B8=BB=E5=8A=A8=E6=BF=80=E6=B4=BB=E4=BF=9D=E5=AD=98=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chart/components/editor/editor-style/ChartStyle.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue index 4fe128cacc..e1aff92b6b 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/ChartStyle.vue @@ -28,6 +28,8 @@ import FlowMapLineSelector from '@/views/chart/components/editor/editor-style/co import FlowMapPointSelector from '@/views/chart/components/editor/editor-style/components/FlowMapPointSelector.vue' import CommonEvent from '@/custom-component/common/CommonEvent.vue' import CommonBorderSetting from '@/custom-component/common/CommonBorderSetting.vue' +import { snapshotStoreWithOut } from '@/store/modules/data-visualization/snapshot' +const snapshotStore = snapshotStoreWithOut() const dvMainStore = dvMainStoreWithOut() const { dvInfo, batchOptStatus, mobileInPc } = storeToRefs(dvMainStore) @@ -202,10 +204,12 @@ const onBasicStyleChange = (val, prop) => { } const onBackgroundChange = (val, prop) => { + snapshotStore.recordSnapshotCache() state.initReady && emit('onBackgroundChange', val, prop) } const onActiveChange = val => { + snapshotStore.recordSnapshotCache() state.initReady && emit('onStyleAttrChange', { custom: 'style',