| | |
| | | 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() |
| | | }) |
| | | } |
| | | }) |
| | | }) |