king
2022-01-21 46f79b491173d284a4900d19e7aecf7509481438
src/templates/sharecomponent/searchcomponent/dragsearch/index.jsx
@@ -7,7 +7,7 @@
import Card from './card'
import './index.scss'
const Container = ({list, show, placeholder, showField, handleList, handleMenu, deleteMenu }) => {
const Container = ({list, show, showField, handleList, handleMenu, deleteMenu }) => {
  const [cards, setCards] = useState(list)
  const moveCard = (id, atIndex) => {
    const { card, index } = findCard(id)
@@ -89,7 +89,6 @@
      newcard.type = item.subType
      newcard.resourceType = '0'
      newcard.options = []
      newcard.setAll = 'false'
      newcard.orderType = 'asc'
      
      let _match = 'like'
@@ -156,7 +155,7 @@
      </Col> : null}
      {cards.length === 0 ?
        <div className="common-drawarea-placeholder">
          {placeholder}
          请添加搜索条件
        </div> : null
      }
    </div>