king
2023-05-30 1800be6fc3f0d1d289ed4eb439d63190bbeff58b
2023-05-30
1个文件已修改
18 ■■■■■ 已修改文件
src/menu/components/card/cardcellcomponent/index.jsx 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardcellcomponent/index.jsx
@@ -180,12 +180,6 @@
  getStyle = (style) => {
    const { card, elements } = this.state
    // if (card.eleType === 'button') {
    //   if ((style.paddingLeft || style.paddingRight) && !style.width) {
    //     style.width = 'auto'
    //   }
    // }
    let _card = this.resetCardStyle(card, style)
    let _elements = elements.map(cell => {
@@ -443,17 +437,7 @@
        if (cell.uuid === res.uuid) {
          res.eleType = cell.eleType || null
          res.style = cell.style || null
          // res.modal = cell.modal || null
          // res.config = cell.config || null
          res.wrapStyle = cell.wrapStyle || null
          // res = {...cell, ...res}
          // if (!res.control) {
          //   delete res.controlField
          //   delete res.controlVal
          // }
          // delete res.focus
          if (res.OpenType === 'form') {
            if (cell.OpenType !== 'form') {
@@ -799,7 +783,7 @@
            destroyOnClose
          >
            <ActionForm
              type={cards.type === 'balcony' ? '' : 'card'}
              type={cards.type === 'balcony' || cardCell.$cardType === 'extendCard' ? '' : 'card'}
              card={card}
              formlist={this.state.formlist}
              inputSubmit={this.handleActionSubmit}