king
2025-01-16 9859b81f5a8942f81cfa50c47c72508e46b60cb3
2025-01-16
1个文件已修改
10 ■■■■■ 已修改文件
src/templates/comtableconfig/updatetable/index.jsx 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/comtableconfig/updatetable/index.jsx
@@ -635,16 +635,26 @@
      if (item.type === 'tabs') {
        item.subtabs.forEach(tab => {
          tab.components[0].action.forEach(btn => {
            btn.uuid = Utils.getuuid()
            if (btn.OpenType === 'popview' && btn.config) {
              btn.config.$tables = getTables(btn.config.components[0])
              btn.config.components[0].action && btn.config.components[0].action.forEach(cell => {
                cell.uuid = Utils.getuuid()
              })
            }
          })
          tab.components[0].cols.forEach(col => {
            if (col.type !== 'custom') return
            col.elements.forEach(btn => {
              if (btn.eleType !== 'button') return
              btn.uuid = Utils.getuuid()
              if (btn.OpenType === 'popview' && btn.config) {
                btn.config.$tables = getTables(btn.config.components[0])
                btn.config.components[0].action && btn.config.components[0].action.forEach(cell => {
                  cell.uuid = Utils.getuuid()
                })
              }
            })
          })