king
2022-08-02 8d66ff34fae5b048a6b7923cc75d34f13a08be9d
src/menu/components/form/dragtitle/card.jsx
@@ -9,6 +9,7 @@
import './index.scss'
const NormalForm = asyncIconComponent(() => import('@/components/normalform'))
const CopyComponent = asyncIconComponent(() => import('@/menu/components/share/copycomponent'))
const Card = ({ id, card, active, moveCard, findCard, closeCard, selectCard, updateGroup }) => {
  const originalIndex = findCard(id).index
@@ -32,7 +33,7 @@
      }
    }
  })
  const opacity = isDragging ? 0 : 1
  const opacity = isDragging ? 0.5 : 1
  const close = () => {
    closeCard(id)
@@ -42,7 +43,7 @@
    selectCard(id)
  }
  const getForms = () =>{
  const getForms = () => {
    return getForm(card)
  }
@@ -73,6 +74,7 @@
        <NormalForm title="分组编辑" width={850} update={updateSetting} getForms={getForms}>
          <EditOutlined style={{color: '#1890ff'}} title="编辑"/>
        </NormalForm>
        <CopyComponent type="formgroup" card={card}/>
        <CloseOutlined className="close" type="close" onClick={close} />
      </div>
    } trigger="hover">