| | |
| | | _data = _data[0] || {$$empty: true} |
| | | } |
| | | _sync = false |
| | | _data.$$uuid = _data[config.setting.primaryKey] || '' |
| | | } |
| | | } else { |
| | | _data = {$$empty: true} |
| | |
| | | _data = _data[0] || {$$empty: true} |
| | | } |
| | | } |
| | | |
| | | _data.$$uuid = _data[config.setting.primaryKey] || '' |
| | | |
| | | if (config.wrap.statusControl && _data[config.wrap.statusControl]) { |
| | | let _status = _data[config.wrap.statusControl] |
| | |
| | | let _data = result.data && result.data[0] ? result.data[0] : {$$empty: true} |
| | | let _group = this.state.group |
| | | |
| | | _data.$$uuid = _data[config.setting.primaryKey] || '' |
| | | |
| | | if (type === 'refresh') { |
| | | _group = config.subcards[0] |
| | | } |
| | |
| | | const { config, loading, BID, BData, data, group, dict, step } = this.state |
| | | |
| | | if (config.wrap.empty === 'hidden' && (!data || data.$$empty)) return null |
| | | if (config.idCtrl && (!data || data.$$empty)) return null |
| | | |
| | | return ( |
| | | <div className="custom-normal-form-box" id={'anchor' + config.uuid} style={{...config.style}}> |