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 | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/menu/components/editor/braft-editor/index.jsx b/src/menu/components/editor/braft-editor/index.jsx index ba933e2..ba699ef 100644 --- a/src/menu/components/editor/braft-editor/index.jsx +++ b/src/menu/components/editor/braft-editor/index.jsx @@ -38,7 +38,7 @@ let _card = { uuid: card.uuid, type: card.type, - format: 'object', // 缁勪欢灞炴�� - 鏁版嵁鏍煎紡 + format: 'array', // 缁勪欢灞炴�� - 鏁版嵁鏍煎紡 pageable: false, // 缁勪欢灞炴�� - 鏄惁鍙垎椤� switchable: false, // 缁勪欢灞炴�� - 鏁版嵁鏄惁鍙垏鎹� width: card.width || 24, @@ -57,6 +57,7 @@ } else { let _card = fromJS(card).toJS() + _card.format = 'array' if (_card.wrap.firstTr === 'light') { _card.wrap.tbStyle = 'th-light' delete _card.wrap.firstTr @@ -108,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