king
2021-09-01 31ec63f0419895876cbaba99637a884a32d33d0d
src/templates/sharecomponent/actioncomponent/dragaction/index.jsx
@@ -53,7 +53,6 @@
    copycard.uuid = Utils.getuuid()
    copycard.origin = false
    copycard.copyType = 'action'
    copycard.label = copycard.label + '(copy)'
    copycard.focus = true
    copycard.originCard = card
@@ -67,7 +66,7 @@
    try {
      _val.uuid = Utils.getuuid()
      _val = window.btoa(window.encodeURIComponent(JSON.stringify(_val)))
    } catch {
    } catch (e) {
      console.warn('Stringify Failure')
      _val = ''
    }
@@ -107,12 +106,10 @@
      newcard.icon = ''
      newcard.class = 'default'
      newcard.intertype = 'system'
      newcard.method = 'POST'
      newcard.position = 'toolbar'
      newcard.execSuccess = 'grid'
      newcard.execError = 'never'
      newcard.popClose = 'never'
      newcard.errorTime = 10
      newcard.verify = null
      if (item.subType === 'excelIn') {
@@ -136,7 +133,7 @@
        targetId = item.dropTargetId
        delete item.dropTargetId
      } else if (cards.length > 0) {
        targetId = cards[cards.length - 1].uuid
        targetId = cards.slice(-1)[0].uuid
      }
      const { index: overIndex } = findCard(`${targetId}`)