king
2024-10-02 65da4dae29c621df1764cb5523c64e92be8b180a
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)