forked from p96170835/amis
还原代码
This commit is contained in:
parent
10af464a6e
commit
96c3b73434
File diff suppressed because it is too large
Load Diff
|
@ -34,7 +34,6 @@ import {LazyComponent} from '../../components';
|
|||
import {isAlive} from 'mobx-state-tree';
|
||||
import {asFormItem} from './Item';
|
||||
import {SimpleMap} from '../../utils/SimpleMap';
|
||||
import {asOptionsControl} from './Options';
|
||||
export type FormGroup = FormSchema & {
|
||||
title?: string;
|
||||
className?: string;
|
||||
|
@ -1027,11 +1026,7 @@ export default class Form extends React.Component<FormProps, object> {
|
|||
control.options || {
|
||||
strictMode: false
|
||||
}
|
||||
)(
|
||||
control.options || control.source
|
||||
? asOptionsControl(control.component)
|
||||
: control.component
|
||||
);
|
||||
)(control.component);
|
||||
this.componentCache.set(control.component, cache);
|
||||
control.component = cache;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue