| | |
| | | }) |
| | | } |
| | | |
| | | window.GLOB.CacheData.set(tempId, {$BID: BID}) |
| | | |
| | | config.components = config.components.map(component => { |
| | | if (component.action) component.action = [] |
| | | if (component.search) component.search = [] |
| | |
| | | component.type = 'card' |
| | | } |
| | | |
| | | component.$pageId = tempId |
| | | if (component.setting && component.setting.supModule) { |
| | | let pid = component.setting.supModule.pop() |
| | | if (pid && pid !== 'empty') { |
| | | component.setting.supModule = pid |
| | | } else { |
| | | component.setting.supModule = '' |
| | | } |
| | | } |
| | | |
| | | if (component.type === 'table') { |
| | | let getColumns = (cols) => { |
| | | return cols.map(item => { |