From 46f79b491173d284a4900d19e7aecf7509481438 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 一月 2022 17:21:25 +0800 Subject: [PATCH] 2022-01-21 --- src/templates/formtabconfig/dragelement/index.jsx | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/templates/formtabconfig/dragelement/index.jsx b/src/templates/formtabconfig/dragelement/index.jsx index 827f7d0..4816521 100644 --- a/src/templates/formtabconfig/dragelement/index.jsx +++ b/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) @@ -115,7 +115,6 @@ newcard.type = item.subType newcard.resourceType = '0' newcard.options = [] - newcard.setAll = 'false' newcard.orderType = 'asc' newcard.match = _match } else if (item.type === 'action') { @@ -184,7 +183,7 @@ ))} {cards.length === 0 && <div className="common-drawarea-placeholder"> - {placeholder} + {type === 'action' ? '璇锋坊鍔犳寜閽�' : '璇锋坊鍔犺〃鍗�'} </div> } </div> -- Gitblit v1.8.0