src/menu/components/tabs/tabcomponents/index.jsx
@@ -8,7 +8,7 @@ import Card from './card' import './index.scss' const Container = ({menu, config, handleList, deleteCard, doubleClickCard }) => { const Container = ({menu, parentId, config, handleList, deleteCard, doubleClickCard }) => { let target = null const [cards, setCards] = useState(config.components) @@ -61,6 +61,7 @@ uuid: Utils.getuuid(), type: item.component, subtype: item.subtype, parentId: parentId, floor: 2, // 组件的层级 isNew: true // 新添加标志,用于初始化 }