king
2019-12-18 1a14ff6035932eadfb6ef7970e3adb24b4e158a6
src/templates/comtableconfig/dragelement/index.jsx
@@ -15,7 +15,6 @@
    const _cards = update(cards, { $splice: [[index, 1], [atIndex, 0, card]] })
    setCards(_cards)
    handleList(type, _cards)
    // handleList({[type]: _cards})
  }
  const findCard = id => {
@@ -105,6 +104,11 @@
        newcard.callbackFunc = ''
        newcard.pageTemplate = ''
        newcard.url = ''
        if (item.subType === 'excelIn' || item.subType === 'excelOut') {
          // 导入和导出excel,按钮名称直接为导入、导出
          newcard.label = item.label
        }
      } else if (item.type === 'columns') {
        newcard.uuid = Utils.getuuid()
        newcard.Align = 'left'