king
2022-04-01 1ea9fe09a611dea3a05131e349a8e8dd46adcf6a
src/menu/components/form/tab-form/index.jsx
@@ -205,7 +205,21 @@
  }
  getStyle = (comIds, style) => {
    const { card } = this.state
    const { card, group } = this.state
    if (comIds[0] === 'form') {
      let Index = group.fields.findIndex(n => n.uuid === comIds[1])
      if (Index === -1) return
      let _group = fromJS(group).toJS()
      _group.fields[Index].style = style
      this.updateGroup(_group)
      return
    }
    if (comIds.length !== 1 || comIds[0] !== card.uuid) return
@@ -560,6 +574,9 @@
        }
        if (item.uuid === res.uuid) {
          if (item.style) {
            res.style = item.style
          }
          return res
        } else {
          return item