src/templates/comtableconfig/tabdragelement/index.jsx
@@ -62,12 +62,12 @@ const { index: overIndex } = findCard(`${targetId}`) let targetIndex = overIndex if (!target) { targetIndex++ } if (targetIndex < 0) { targetIndex = 0 } // if (!target) { targetIndex++ // } // if (targetIndex < 0) { // targetIndex = 0 // } const _cards = update(cards, { $splice: [[targetIndex, 0, newcard]] }) setCards(_cards)