src/menu/components/group/groupcomponents/index.jsx
File was renamed from src/menu/components/group/tabcomponents/index.jsx @@ -114,14 +114,6 @@ } i++ } let dataName = '' while (!dataName) { let _dataName = Utils.getdataName() if (config.components.filter(com => com.dataName === _dataName).length === 0) { dataName = _dataName } } let newcard = { uuid: Utils.getuuid(), @@ -131,7 +123,7 @@ subtype: item.subtype, config: item.config, width: item.width || 24, dataName: dataName, dataName: Utils.getdataName(), name: name, floor: config.floor || 1, // 组件的层级 isNew: true // 新添加标志,用于初始化