From 26b0ef43fada54e4b06d835630afa02895014ad6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 13 十一月 2024 16:02:16 +0800
Subject: [PATCH] 2024-11-13

---
 src/tabviews/custom/components/editor/braft-editor/index.jsx |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/editor/braft-editor/index.jsx b/src/tabviews/custom/components/editor/braft-editor/index.jsx
index 24d3909..2c5ddd6 100644
--- a/src/tabviews/custom/components/editor/braft-editor/index.jsx
+++ b/src/tabviews/custom/components/editor/braft-editor/index.jsx
@@ -168,7 +168,9 @@
     if (!config.setting.supModule || config.setting.supModule !== MenuID) return
     if (id !== this.state.BID || id !== '') {
       this.setState({ BID: id }, () => {
-        this.loadData()
+        if (config.wrap.datatype !== 'public') {
+          this.loadData()
+        }
       })
     }
   }

--
Gitblit v1.8.0