king
2021-01-07 2292d1826e69e21c8a411c217faef635fe57d458
src/menu/components/group/groupcomponents/index.jsx
File was renamed from src/menu/components/group/tabcomponents/index.jsx
@@ -115,14 +115,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(),
        tabId: config.uuid,
@@ -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               // 新添加标志,用于初始化