mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 20:48:49 +08:00
Merge remote-tracking branch 'amis/master'
This commit is contained in:
commit
e1659bb033
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
Block a user