king
2021-08-19 812070dc565f03bafb0b62696004aa676ed1b787
src/views/pcdesign/index.jsx
@@ -738,7 +738,9 @@
          title: item.name,
          children: []
        }
        if (item.type === 'tabs') {
        if (item.type === 'login') {
          return null
        } else if (item.type === 'tabs') {
          let tabs = []
          item.subtabs.forEach(tab => {
            let s = traversal(tab.components)
@@ -829,6 +831,13 @@
              title: menu.setting.name
            }
          })
        } else if (item.type === 'form') {
          m.children = item.subcards.map(m => {
            return {
              key: m.uuid,
              title: m.setting.title
            }
          })
        } else if (item.type === 'table' && item.subtype === 'normaltable') {
          item.action && item.action.forEach(btn => {
            this.checkBtn(btn)
@@ -854,8 +863,6 @@
            })
          })
        }
        if (m.children.length === 0) return null
        return m
      })