From c26149fa4267d9d4567e59288a956e96d3f2d436 Mon Sep 17 00:00:00 2001
From: wanglin2 <1013335014@qq.com>
Date: Tue, 31 Jan 2023 13:35:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddemo=E8=AE=BE=E7=BD=AE?=
=?UTF-8?q?=E4=BA=86=E6=B0=B4=E5=8D=B0=E9=A1=B5=E9=9D=A2=E5=88=B7=E6=96=B0?=
=?UTF-8?q?=E5=90=8E=E7=94=9F=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
index.html | 2 +-
simple-mind-map/index.js | 1 -
web/src/pages/Edit/components/BaseStyle.vue | 1 +
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index 14b637db..837c3878 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-
一个简单的web思维导图实现
\ No newline at end of file
+一个简单的web思维导图实现
\ No newline at end of file
diff --git a/simple-mind-map/index.js b/simple-mind-map/index.js
index 35b20891..cea6d114 100644
--- a/simple-mind-map/index.js
+++ b/simple-mind-map/index.js
@@ -118,7 +118,6 @@ class MindMap {
// 注册插件
MindMap.pluginList.forEach((plugin) => {
- console.log(plugin.instanceName);
this[plugin.instanceName] = new plugin({
mindMap: this
})
diff --git a/web/src/pages/Edit/components/BaseStyle.vue b/web/src/pages/Edit/components/BaseStyle.vue
index 1becf5f7..0dc35e84 100644
--- a/web/src/pages/Edit/components/BaseStyle.vue
+++ b/web/src/pages/Edit/components/BaseStyle.vue
@@ -580,6 +580,7 @@ export default {
this.mindMap.watermark.updateWatermark({
...config
})
+ this.data.config = this.data.config || {}
this.data.config.watermarkConfig = this.mindMap.getConfig('watermarkConfig')
storeConfig({
config: this.data.config