From 65da4dae29c621df1764cb5523c64e92be8b180a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 02 十月 2024 15:40:40 +0800
Subject: [PATCH] 2024-10-02

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

diff --git a/src/menu/components/editor/braft-editor/index.jsx b/src/menu/components/editor/braft-editor/index.jsx
index 1b2c190..ba699ef 100644
--- a/src/menu/components/editor/braft-editor/index.jsx
+++ b/src/menu/components/editor/braft-editor/index.jsx
@@ -109,8 +109,9 @@
     card.name = card.wrap.name
 
     card.errors = []
+    card.$tables = []
 
-    if (card.wrap.datatype !== 'static') {
+    if (card.wrap.datatype === 'dynamic') {
       card.$c_ds = true
       card.errors = checkComponent(card)
 

--
Gitblit v1.8.0