king
2023-05-18 e9e8b1c7b481415714fff9a0d83099fd5a7d6ff0
src/tabviews/zshare/settingcomponent/index.jsx
@@ -143,9 +143,13 @@
            })
          })
        } else if (item.type === 'table') {
          item.cols && item.cols.forEach(col => {
            if (col.type !== 'action') return
            col.elements && col.elements.forEach(cell => {
          let loopCol = (cols) => {
            cols.forEach(col => {
              if (col.type === 'colspan') {
                loopCol(col.subcols)
              } else if (col.type === 'custom') {
                col.elements.forEach(cell => {
                  if (cell.eleType !== 'button') return
              cell.$expanded = false
              if (cell.OpenType === 'funcbutton' && cell.funcType === 'print') {
@@ -165,8 +169,11 @@
              _comp.action.push({...cell, $line: true, ...(userConfig[cell.uuid] || {})})
            })
              }
          })
        } 
          loopCol(item.cols)
        }
        
        if (_comp.action.length > 0) {
          _components.push(_comp)