From f2b247e85c3530345dee97244c1d0f0844423d1b Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Fri, 21 Jul 2023 14:10:40 +0800 Subject: [PATCH] =?UTF-8?q?Demo:=E4=BF=AE=E5=A4=8D=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F-=E8=AE=BE=E7=BD=AE=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E5=A4=96=E8=BE=B9=E8=B7=9D=E6=9C=AA=E4=BF=9D=E5=AD=98=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Edit/components/BaseStyle.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/src/pages/Edit/components/BaseStyle.vue b/web/src/pages/Edit/components/BaseStyle.vue index 9c558d9e..3de1096a 100644 --- a/web/src/pages/Edit/components/BaseStyle.vue +++ b/web/src/pages/Edit/components/BaseStyle.vue @@ -879,6 +879,12 @@ export default { } this.data.theme.config[this.marginActiveTab][type] = value this.mindMap.setThemeConfig(this.data.theme.config) + storeConfig({ + theme: { + template: this.mindMap.getTheme(), + config: this.data.theme.config + } + }) }, // 切换显示水印与否