forked from p96170835/amis
修复form中的service轮训问题
This commit is contained in:
parent
b35d656d2c
commit
ae1deb9165
|
@ -24,6 +24,7 @@ export class ServiceRenderer extends BasicService {
|
|||
|
||||
componentDidMount() {
|
||||
const {formInited, addHook} = this.props;
|
||||
this.mounted = true;
|
||||
|
||||
// form层级下的所有service应该都会走这里
|
||||
// 但是传入props有可能是undefined,所以做个处理
|
||||
|
@ -66,10 +67,10 @@ export class ServiceRenderer extends BasicService {
|
|||
|
||||
const finnalSchema = store.schema ||
|
||||
schema || {
|
||||
controls,
|
||||
tabs,
|
||||
feildSet
|
||||
};
|
||||
controls,
|
||||
tabs,
|
||||
feildSet
|
||||
};
|
||||
if (
|
||||
finnalSchema &&
|
||||
!finnalSchema.type &&
|
||||
|
|
Loading…
Reference in New Issue