king
2025-02-06 d1cd5af5adb53e91efdd278328e1b6f8ad834fb5
src/templates/sharecomponent/searchcomponent/dragsearch/index.jsx
@@ -2,7 +2,7 @@
import { useDrop } from 'react-dnd'
import { is, fromJS } from 'immutable'
import update from 'immutability-helper'
import { Col, Button, Popover } from 'antd'
import { Col, Button, Popover, message } from 'antd'
import { EditOutlined } from '@ant-design/icons'
import Utils from '@/utils/utils.js'
@@ -68,12 +68,16 @@
      document.body.removeChild(oInput)
    }
    if (window.GLOB.CopyOnly) {
      message.success('复制成功。')
    } else {
    const { index: overIndex } = findCard(id)
    const _cards = update(cards, { $splice: [[overIndex + 1, 0, copycard]] })
    handleList(_cards, copycard)
  }
  }
  const [, drop] = useDrop({
    accept: 'search',