king
2020-09-26 ab60d53b67f802878662aaa5a5b52580cca421b8
src/menu/actioncomponent/dragaction/index.jsx
@@ -8,7 +8,7 @@
import Card from './card'
import './index.scss'
const Container = ({type, list, handleList, handleMenu, deleteMenu, profileMenu, doubleClickCard }) => {
const Container = ({plus, list, handleList, handleMenu, deleteMenu, profileMenu, doubleClickCard }) => {
  const [cards, setCards] = useState(list)
  const moveCard = (id, atIndex) => {
    const { card, index } = findCard(id)
@@ -116,10 +116,6 @@
    newcard.errorTime = 10
    newcard.verify = null
    newcard.show = 'icon'
    if (type === 'chart') {
      newcard.show = 'icon'
    }
    
    let targetId = cards.length > 0 ? cards[cards.length - 1].uuid : 0
@@ -150,7 +146,7 @@
          doubleClickCard={doubleClickBtn}
        />
      ))}
      <Icon type="plus" title="添加按钮" onClick={addaction}/>
      {plus !== 'false' ? <Icon type="plus" title="添加按钮" onClick={addaction}/> : null}
    </div>
  )
}