| | |
| | | item.dataArray = fromJS(res.data).toJS() |
| | | } else if (res.componentId === 'union' && res[item.dataName]) { |
| | | item.data = res[item.dataName] |
| | | item.dataArray = fromJS(res[item.dataName]).toJS() |
| | | if (!Array.isArray(item.data)) { |
| | | item.data = [item.data] |
| | | } |
| | | item.dataArray = fromJS(item.data).toJS() |
| | | } |
| | | }) |
| | | |
| | |
| | | comloading: false, |
| | | needUpdate: true |
| | | }) |
| | | |
| | | window.GLOB.customMenu = config |
| | | return |
| | | } |
| | | |
| | |
| | | config.components = this.setPopView(config.components, parents, popbtns) |
| | | |
| | | this.setState({ delButtons: bts, config, comloading: false }) |
| | | |
| | | window.GLOB.customMenu = config |
| | | }) |
| | | } |
| | | |