king
2021-12-10 4e6b881b89a300836bc647ddd2caf6878dc1a342
src/templates/formtabconfig/dragelement/index.jsx
@@ -8,7 +8,7 @@
import ItemTypes from './itemtypes'
import './index.scss'
const Container = ({list, type, groupId, setting, placeholder, handleList, handleMenu, deleteMenu, profileMenu }) => {
const Container = ({list, type, groupId, setting, handleList, handleMenu, deleteMenu, profileMenu }) => {
  const [cards, setCards] = useState(list)
  const moveCard = (id, atIndex) => {
    const { card, index } = findCard(id)
@@ -184,7 +184,7 @@
      ))}
      {cards.length === 0 &&
        <div className="common-drawarea-placeholder">
          {placeholder}
          {type === 'action' ? '请添加按钮' : '请添加表单'}
        </div>
      }
    </div>